just need to make: - viewer (very simple - fetch record, fetchVideo, display <video> tag) - upload/management (need atcute browser oauth client, write to PDS, etcetc)
38 lines
792 B
JSON
38 lines
792 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "blue.cerulea.video.fetchVideo",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"input": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["repo", "blob"],
|
|
"properties": {
|
|
"repo": {
|
|
"type": "string",
|
|
"format": "did"
|
|
},
|
|
"blob": {
|
|
"type": "string",
|
|
"format": "cid"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["filename"],
|
|
"properties": {
|
|
"filename": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|