app.bivri.feed.createArtworkV2
Publish a new artwork to the authenticated member's repository. Requires an OAuth session; the record is written to the member's own PDS.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | feed.bivri.app |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe procedure has no description.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
"name": "ConsentRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"description": {
"description": "Free-form description of the artwork.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"labels": {
"description": "Self-label values the author declares on this artwork, such as a spoiler warning. These are author metadata, not platform moderation decisions.",
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union"
},
"langs": {
"description": "Human languages of the artwork's title and description.",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"media": {
"description": "Images making up the artwork, in display order. At least one is required. Blobs are uploaded beforehand through com.atproto.repo.uploadBlob, and the items together may not exceed 200MB — a total this schema cannot express.",
"items": {
"ref": "app.bivri.feed.artworkV2#mediaItem",
"type": "ref"
},
"maxLength": 50,
"minLength": 1,
"type": "array"
},
"tags": {
"description": "Author-chosen tags used for discovery and search.",
"items": {
"maxGraphemes": 64,
"maxLength": 640,
"minLength": 1,
"type": "string"
},
"maxLength": 8,
"type": "array"
},
"title": {
"description": "Title of the artwork. An artwork cannot be published without one.",
"maxGraphemes": 50,
"maxLength": 500,
"minLength": 1,
"type": "string"
}
},
"required": [
"title",
"media"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID of the artwork record that was written.",
"format": "cid",
"type": "string"
},
"uri": {
"description": "AT URI of the artwork record that was written.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Publish a new artwork to the authenticated member's repository. Requires an OAuth session; the record is written to the member's own PDS.",
"id": "app.bivri.feed.createArtworkV2",
"lexicon": 1
}