The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
GET /api/ss/project/:id/workspace HTTP/1.1Host: localhost:3000X-SSAPI-KEY: APIKeyContent-Type: application/jsonConnection: close
id (string)
Identifier for the project.
Example:
GET /api/ss/project/5f63de24fa1c9208d3e140b0/workspace HTTP/1.1
The following example is a cURL request to get a project workspace by the project id.
Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
curl -X GET 'http://localhost:3000/api/ss/project/5f63de24fa1c9208d3e140b0/workspace' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'
Response contains a workspace object.
{"workspace": {"notes": [{"title": "...","details": "...","assets": [{"name": "...", "id": "..."}],"files": [{"name": "...", "type": "...", "file_size_kb": 999, "full_name": "...", "created": "...", "created_by": "...", "id": "..."}],"created": "...","created_by": "...","last_updated": "...","id": "..."}],"files": [{"name": "...","type": "...","file_size_kb": 999,"full_name": "...","created": "...","created_by": "...","id": "..."}]}}