Skip to content

API Discussion: Return JSON data and metadata #3

@rvanlaar

Description

@rvanlaar

I don't think we need the metadata (for now). To ease the development we make the data a first class attribute.

The specification reads:

{
  data: [
    {
      "id" : "{portal id}",
      "name": "{portal name}",
      "description": "{portal description}",
      "url": "/api/v1/portals/{portal id}"
    }
  ]
  count: 1
}

I propose:

[
    {
      "id" : "{portal id}",
      "name": "{portal name}",
      "description": "{portal description}",
      "url": "/api/v1/portals/{portal id}"
    }
]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions