Endpoint Examples

/rankings

GET /rankings

List the rankable dimensions of a dataset.

URL Parameters

NameTypeDescription
datasetIdstringDataset ID.
Example: local-test-data

Code Examples

curl --request GET \
     --url https://api.lightcast.io/alumni-pathways/rankings \
     --header 'accept: application/json' \
     --header 'authorization: Bearer <ACCESS_TOKEN>'

Response Examples

{
  "data": [
    "company",
    "title"
  ]
}
{
  "errors": [
    {
      "status": 404,
      "title": "Not found",
      "detail": "Invalid request path (dimension: foo): value is not a valid enumeration member; permitted: 'lotocc', 'lotspecocc'"
    }
  ]
}