Page MenuHomePhabricator

[API endpoints] Create supported namespaces API
Closed, ResolvedPublic

Description

As a data re-user, I would like to know what namespaces are supported by WME so I can know what namespaces I can use.

We need to create API endpoint to get supported by us namespaces. Endpoint is /v1/namespaces.

Example response wold be like:

[
  {
    "name": "Article",
    "identifier": 0
  },
  {
    "name": "File",
    "identifier": 6
  },
  {
    "name": "Category",
    "identifier": 14
  }
]

Event Timeline

Protsack.stephan renamed this task from Create supported namespaces API to [API endpoints] Create supported namespaces API.May 20 2021, 6:52 PM