api: english
This commit is contained in:
parent
5c866ec499
commit
dd5dc0324b
@ -89,7 +89,7 @@ namespace Read {
|
|||||||
@useAuth(BearerAuth)
|
@useAuth(BearerAuth)
|
||||||
namespace EmoteManagement {
|
namespace EmoteManagement {
|
||||||
/**
|
/**
|
||||||
* Image types that accepted in uploads.
|
* Image types accepted in uploads.
|
||||||
*/
|
*/
|
||||||
model Image is File<"image/png" | "image/jpeg" | "image/gif" | "image/webp" | "image/avif">;
|
model Image is File<"image/png" | "image/jpeg" | "image/gif" | "image/webp" | "image/avif">;
|
||||||
|
|
||||||
|
@ -125,14 +125,12 @@ model Emote {
|
|||||||
@visibility(Lifecycle.Read)
|
@visibility(Lifecycle.Read)
|
||||||
reviewer?: id;
|
reviewer?: id;
|
||||||
|
|
||||||
/** Time at which the emote was approved, if ever. */
|
/** Time at which the emote was approved for public search, if ever. */
|
||||||
@visibility(Lifecycle.Read)
|
@visibility(Lifecycle.Read)
|
||||||
approvedAt?: utcDateTime;
|
approvedAt?: utcDateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emote status.
|
* Emote status.
|
||||||
* An emote is unreviewed upon upload, when attributions change, or when
|
|
||||||
* all restrictions are removed.
|
|
||||||
* If an emote has no reviewer, it is always in status "unreviewed".
|
* If an emote has no reviewer, it is always in status "unreviewed".
|
||||||
* If it has both a reviewer and restrictions, then it is in status "restricted".
|
* If it has both a reviewer and restrictions, then it is in status "restricted".
|
||||||
* If it has a reviewer, no restrictions, and an approved time,
|
* If it has a reviewer, no restrictions, and an approved time,
|
||||||
@ -174,7 +172,6 @@ enum mediaType {
|
|||||||
/**
|
/**
|
||||||
* Emote work attributions.
|
* Emote work attributions.
|
||||||
* These may be links to Ligmotes users or to general social media.
|
* These may be links to Ligmotes users or to general social media.
|
||||||
* Attributions are subject to moderator approval.
|
|
||||||
*/
|
*/
|
||||||
model Attribution {
|
model Attribution {
|
||||||
/** Text displayed for the attribution, typically their name. */
|
/** Text displayed for the attribution, typically their name. */
|
||||||
|
@ -528,7 +528,6 @@ components:
|
|||||||
description: |-
|
description: |-
|
||||||
Emote work attributions.
|
Emote work attributions.
|
||||||
These may be links to Ligmotes users or to general social media.
|
These may be links to Ligmotes users or to general social media.
|
||||||
Attributions are subject to moderator approval.
|
|
||||||
Models.ConnectedSet:
|
Models.ConnectedSet:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
@ -607,7 +606,7 @@ components:
|
|||||||
approvedAt:
|
approvedAt:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
description: Time at which the emote was approved, if ever.
|
description: Time at which the emote was approved for public search, if ever.
|
||||||
readOnly: true
|
readOnly: true
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
@ -618,8 +617,6 @@ components:
|
|||||||
- public
|
- public
|
||||||
description: |-
|
description: |-
|
||||||
Emote status.
|
Emote status.
|
||||||
An emote is unreviewed upon upload, when attributions change, or when
|
|
||||||
all restrictions are removed.
|
|
||||||
If an emote has no reviewer, it is always in status "unreviewed".
|
If an emote has no reviewer, it is always in status "unreviewed".
|
||||||
If it has both a reviewer and restrictions, then it is in status "restricted".
|
If it has both a reviewer and restrictions, then it is in status "restricted".
|
||||||
If it has a reviewer, no restrictions, and an approved time,
|
If it has a reviewer, no restrictions, and an approved time,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user