Skip to main content
GET
/
workspace
/
{workspace-id}
/
project
/
{project-id}
/
files
Retrieve the list of files uploaded to the project (scope: files.read)
curl --request GET \
  --url https://api.standards.site/beta/workspace/{workspace-id}/project/{project-id}/files \
  --header 'Authorization: Bearer <token>'
{
  "workspace": "z3plqkvf52r",
  "project": "3e95a13e7f1",
  "files": [
    {
      "filename": "Inter-Bold.ttf",
      "size": 84216,
      "contentType": "font/ttf",
      "url": "<string>",
      "metadata": {
        "family": "Inter Bold",
        "subFamily": "Regular",
        "weight": 400,
        "style": "normal"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace-id
string
required

The identifier for the workspace

project-id
string
required

The identifier for the project in the workspace

Response

The list of files was retrieved successfully

workspace
string
required

The workspace id (matches the workspace-id sent with the request)

Example:

"z3plqkvf52r"

project
string
required

The project id (matches the project-id sent with the request)

Example:

"3e95a13e7f1"

files
FilesItemResponse · object[]
required