Read project
curl --request GET \
--url https://api.sigmora.org/v1/projects/{projectId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sigmora.org/v1/projects/{projectId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sigmora.org/v1/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"project": {
"id": "prj_9x2a4c",
"title": "Statistics for AI — Week 5",
"kind": "video",
"status": "active",
"visibility": "private",
"mediaType": "video",
"videoPath": "talking-head",
"createdAt": "<string>",
"updatedAt": "<string>",
"lastActivityAt": "<string>",
"archivedAt": "<string>"
},
"itemCount": 0,
"items": [
{
"id": "<string>",
"type": "<string>",
"title": "<string>",
"status": "<string>",
"createdAt": "<string>"
}
]
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}Read project
Read one project. A project belonging to another workspace answers 404 rather than 403, so ids cannot be used to test for existence across tenants. items lists what is filed in it, newest first, as compact references.
GET
/
v1
/
projects
/
{projectId}
Read project
curl --request GET \
--url https://api.sigmora.org/v1/projects/{projectId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sigmora.org/v1/projects/{projectId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sigmora.org/v1/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"project": {
"id": "prj_9x2a4c",
"title": "Statistics for AI — Week 5",
"kind": "video",
"status": "active",
"visibility": "private",
"mediaType": "video",
"videoPath": "talking-head",
"createdAt": "<string>",
"updatedAt": "<string>",
"lastActivityAt": "<string>",
"archivedAt": "<string>"
},
"itemCount": 0,
"items": [
{
"id": "<string>",
"type": "<string>",
"title": "<string>",
"status": "<string>",
"createdAt": "<string>"
}
]
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}Authorizations
A workspace API key.
Path Parameters
A project id. Capability responses return the one they filed under.
Required string length:
1 - 200Example:
"prj_9x2a4c"
Response
Success.
The container capability output is filed under.
Show child attributes
Show child attributes
How many items the project holds.
Required range:
-9007199254740991 <= x <= 9007199254740991What is filed in the project, newest first.
Show child attributes
Show child attributes