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
{
"type": "query",
"errors": [
{
"name": "NotFound",
"description": "No submission at that URI, or it has been deleted."
},
{
"name": "InvalidRequest",
"description": "The URI is not an AT-URI in one of this board's collections."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"thread"
],
"properties": {
"thread": {
"ref": "pub.oysters.defs#threadViewPost",
"type": "ref",
"description": "The submission and its replies."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the submission."
},
"depth": {
"type": "integer",
"default": 12,
"maximum": 12,
"minimum": 0,
"description": "How many levels of replies to include. Beyond this, a comment's replies come back empty."
}
}
},
"description": "A submission and its discussion."
}