api: english
This commit is contained in:
parent
5c866ec499
commit
dd5dc0324b
@ -89,7 +89,7 @@ namespace Read {
|
||||
@useAuth(BearerAuth)
|
||||
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">;
|
||||
|
||||
|
@ -125,14 +125,12 @@ model Emote {
|
||||
@visibility(Lifecycle.Read)
|
||||
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)
|
||||
approvedAt?: utcDateTime;
|
||||
|
||||
/**
|
||||
* 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 it has both a reviewer and restrictions, then it is in status "restricted".
|
||||
* If it has a reviewer, no restrictions, and an approved time,
|
||||
@ -174,7 +172,6 @@ enum mediaType {
|
||||
/**
|
||||
* Emote work attributions.
|
||||
* These may be links to Ligmotes users or to general social media.
|
||||
* Attributions are subject to moderator approval.
|
||||
*/
|
||||
model Attribution {
|
||||
/** Text displayed for the attribution, typically their name. */
|
||||
|
@ -528,7 +528,6 @@ components:
|
||||
description: |-
|
||||
Emote work attributions.
|
||||
These may be links to Ligmotes users or to general social media.
|
||||
Attributions are subject to moderator approval.
|
||||
Models.ConnectedSet:
|
||||
type: object
|
||||
required:
|
||||
@ -607,7 +606,7 @@ components:
|
||||
approvedAt:
|
||||
type: string
|
||||
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
|
||||
status:
|
||||
type: string
|
||||
@ -618,8 +617,6 @@ components:
|
||||
- public
|
||||
description: |-
|
||||
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 it has both a reviewer and restrictions, then it is in status "restricted".
|
||||
If it has a reviewer, no restrictions, and an approved time,
|
||||
|
Loading…
x
Reference in New Issue
Block a user