check in lexicons

This commit is contained in:
Samuel Newman
2025-04-30 21:15:55 +03:00
parent 727a696970
commit d5b5b21617
259 changed files with 13100 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"lexicon": 1,
"id": "app.bsky.video.defs",
"defs": {
"jobStatus": {
"type": "object",
"required": ["jobId", "did", "state"],
"properties": {
"jobId": { "type": "string" },
"did": { "type": "string", "format": "did" },
"state": {
"type": "string",
"description": "The state of the video processing job. All values not listed as a known value indicate that the job is in process.",
"knownValues": ["JOB_STATE_COMPLETED", "JOB_STATE_FAILED"]
},
"progress": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Progress within the current processing state."
},
"blob": { "type": "blob" },
"error": { "type": "string" },
"message": { "type": "string" }
}
}
}
}
+32
View File
@@ -0,0 +1,32 @@
{
"lexicon": 1,
"id": "app.bsky.video.getJobStatus",
"defs": {
"main": {
"type": "query",
"description": "Get status details for a video processing job.",
"parameters": {
"type": "params",
"required": ["jobId"],
"properties": {
"jobId": {
"type": "string"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["jobStatus"],
"properties": {
"jobStatus": {
"type": "ref",
"ref": "app.bsky.video.defs#jobStatus"
}
}
}
}
}
}
}
@@ -0,0 +1,24 @@
{
"lexicon": 1,
"id": "app.bsky.video.getUploadLimits",
"defs": {
"main": {
"type": "query",
"description": "Get video upload limits for the authenticated user.",
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["canUpload"],
"properties": {
"canUpload": { "type": "boolean" },
"remainingDailyVideos": { "type": "integer" },
"remainingDailyBytes": { "type": "integer" },
"message": { "type": "string" },
"error": { "type": "string" }
}
}
}
}
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"lexicon": 1,
"id": "app.bsky.video.uploadVideo",
"defs": {
"main": {
"type": "procedure",
"description": "Upload a video to be processed then stored on the PDS.",
"input": {
"encoding": "video/mp4"
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["jobStatus"],
"properties": {
"jobStatus": {
"type": "ref",
"ref": "app.bsky.video.defs#jobStatus"
}
}
}
}
}
}
}