GET /projects

List projects for authenticated user

Query parameters

  • sort string

    Sort string. Must be in the form field:order. field may be one of: id, user, name, created, or modified. order may be one of -1 for descending or 1 for ascending. Resources are sorted in descending order by id by default.

  • q string

    Query string. See search query syntax for details. Supported search fields are: id, user, and name.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id string Required
    • user string Required

      Owner ID

    • name string Required
    • access string

      Access control

      Values are private or public.

    • created string Required

      ISO 8601 datetime

    • modified string Required

      ISO 8601 datetime

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • code integer

      HTTP response code

    • name string

      Status text corresponding to the HTTP response code

    • description string

      Detailed error message

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer

      HTTP response code

    • name string

      Status text corresponding to the HTTP response code

    • description string

      Detailed error message

GET /projects
curl \
 --request GET 'https://api.metafold3d.com/projects' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": "123",
    "name": "my-project",
    "user": "auth0|668d4279b22e4ed36b598305",
    "access": "private",
    "created": "2006-01-02T22:04:05+00:00",
    "modified": "2006-01-02T22:04:05+00:00"
  }
]
Response examples (400)
{
  "code": 400,
  "name": "Bad Request",
  "description": "Expected parameter \"foo\""
}
Response examples (401)
{
  "code": 401,
  "name": "Unauthorzed",
  "description": "Token has expired"
}