A submission and its discussion.
Parameters
Output
Encoding
application/jsonthread
refpub.oysters.defs#threadViewPost
Required
The submission and its replies.
Errors
NotFound
No submission at that URI, or it has been deleted. InvalidRequest
The URI is not an AT-URI in one of this board's collections. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "A submission and its discussion.",
"errors": [
{
"description": "No submission at that URI, or it has been deleted.",
"name": "NotFound"
},
{
"description": "The URI is not an AT-URI in one of this board's collections.",
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"thread": {
"description": "The submission and its replies.",
"ref": "pub.oysters.defs#threadViewPost",
"type": "ref"
}
},
"required": [
"thread"
],
"type": "object"
}
},
"parameters": {
"properties": {
"depth": {
"default": 12,
"description": "How many levels of replies to include. Beyond this, a comment's replies come back empty.",
"maximum": 12,
"minimum": 0,
"type": "integer"
},
"uri": {
"description": "AT-URI of the submission.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}