place.stream.moderation.createVodGate
Create a gate (hide VOD comment) on behalf of a streamer. Requires 'vod.comment.hide' permission. Creates a place.stream.vod.gate record in the streamer's repository.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.stream.place |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a gate (hide VOD comment) on behalf of a streamer. Requires 'vod.comment.hide' permission. Creates a place.stream.vod.gate record in the streamer's repository.",
"errors": [
{
"description": "The request lacks valid authentication credentials.",
"name": "Unauthorized"
},
{
"description": "The caller does not have permission to hide VOD comments for this streamer.",
"name": "Forbidden"
},
{
"description": "The streamer's OAuth session could not be found or is invalid.",
"name": "SessionNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"commentUri": {
"description": "The AT-URI of the VOD comment to hide.",
"format": "at-uri",
"type": "string"
},
"streamer": {
"description": "The DID of the streamer.",
"format": "did",
"type": "string"
}
},
"required": [
"streamer",
"commentUri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "The CID of the created gate record.",
"format": "cid",
"type": "string"
},
"uri": {
"description": "The AT-URI of the created gate record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "place.stream.moderation.createVodGate",
"lexicon": 1
}