GET
/
v1
/
projects
curl --request GET \
  --url https://api.edgee.app/v1/projects \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "url": "<string>",
  "has_more": true,
  "last_key": "<string>",
  "data": [
    {
      "object": "project",
      "id": "<string>",
      "organization_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "slug": "my-project",
      "description": "This is my project",
      "avatar_url": "<string>",
      "created_at": "2022-03-01T00:00:00Z",
      "updated_at": "2022-03-01T00:00:00Z",
      "external_project_url": "https://my-project.com",
      "log_severity": "INFO",
      "edgee_behind_proxy_cache": false,
      "force_https": true,
      "cache": false,
      "override_cache": [
        {
          "path": "<string>",
          "regex": true,
          "ttl": 123,
          "swr": 123,
          "pass": true,
          "rank": 123,
          "conditions": {
            "request_cookies": {
              "present": [
                "<string>"
              ],
              "absent": [
                "<string>"
              ],
              "values": {}
            },
            "request_headers": {
              "present": [
                "<string>"
              ],
              "absent": [
                "<string>"
              ],
              "values": {}
            },
            "request_query_params": {
              "present": [
                "<string>"
              ],
              "absent": [
                "<string>"
              ],
              "values": {}
            },
            "request_methods": [
              "<string>"
            ],
            "response_status": [
              123
            ],
            "response_headers": {
              "present": [
                "<string>"
              ],
              "absent": [
                "<string>"
              ],
              "values": {}
            }
          }
        }
      ],
      "cookie_name": "edgee",
      "cookie_domain": "<string>",
      "proxy_only": false,
      "inject_sdk": false,
      "enforce_no_store_policy": false,
      "trusted_ips": [],
      "password_protection": false,
      "blocked_ips": [],
      "cookie_whitelist": [],
      "forwarded_headers": []
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

organization_id
string

The organization ID.

limit
integer

A limit on the number of objects to be returned.

start_key
string

A cursor for use in pagination. start_key parameter defines the place in the list for your subsequent calls. For instance, if you make a list request and receive 100 objects, the last one having ABCDE key, you can make a subsequent call with start_key=ABCDE in order to fetch the next page of the list.

order_direction
enum<string>

The order direction of the returned list. Objects are returned sorted by creation date. By default, the order is descending, so the most recent object appears first. Possible values are ASC and DESC. Default is DESC.

Available options:
ASC,
DESC

Response

200
application/json

A list of Projects

The response is of type object.