Returns the personal collection models for all personal collections associated with the holder of the API key specified in the Authorization header. Use the Range header to specify the number of personal collections returned (default is the first 20).

Query parameters

None

Try it out

Enter API key:

Enter any desired query parameters and click Send to view the response:

GET https://public.enigma.com/api/personal-collections/?


Responses

CodeReturns
200 The personal collection model for each personal collection.
206 The personal collection model for each personal collection.

Example

This example returns the first personal collection belonging to the holder of the specified API key. This personal collection includes two datasets and one collection.

Request

$ curl -X GET 'https://public.enigma.com/api/personal-collections/' -H 'Authorization: Bearer <APIKEY>' -H 'Range: resources=0-0'

Response

[
  {
    "bookmarks": [
      {
        "collection": null,
        "dataset": {
          "description": "Companies listed on the NASDAQ Stock Exchange.",
          "description_short": "Companies listed on the NASDAQ Stock Exchange.",
          "display_name": "NASDAQ Stock Exchange",
          "id": "ebb5e1c4-3780-4524-9d12-6f2a9f6b83b6",
          "published": true
        }
      },
      {
        "collection": null,
        "dataset": {
          "description": "Basic U.S. offshore oil and gas production information curated by Enigma. Includes American Petroleum Institute (API) numbers, oil production volumes, gas production volumes, and production periods.",
          "description_short": "Basic U.S. offshore oil and gas production information curated by Enigma. Includes American Petroleum Institute (API) numbers, oil production volumes, gas production volumes, and production periods.",
          "display_name": "Oil & Gas Production - U.S. Offshore",
          "id": "d8b09b99-c2b8-48eb-9794-ae55bf87bdf6",
          "published": true
        }
      }
    ],
    "description": null,
    "display_name": "Bookmarks",
    "id": "9acca0e9-5cee-4f2b-aa6b-c8f3e9da9baf"
  }
]