Skip to content

API Endpoints: Entities: Get Entities

Xavier Bertels edited this page Jul 23, 2017 · 1 revision

Entity Resources

GET /entities

Description

Returns a listing of entities.

Parameters

None

Return format

An array with the following keys and values:

  • id — The ID of the entity.
  • name — The name of the entity
  • url — The URL of the entity
  • image — The link to the entity' representation

Errors

None

Example

Request

https://example.com/api/v1/entities

Return shortened for example purpose

[
  {
     "id": 1,
     "name": "osoc17",
     "url": "osoc17",
     "image": "http://2017.summerofcode.be/images/squarelogo-LI.png"
  },
  {
     "id": 2,
     "name": "open summer of code",
     "url": "open-summer-of-code",
     "image": null
  },
  {
     "id": 3,
     "name": "crypto blockchain",
     "url": "crypto-blockchain",
     "image": "https://farm7.staticflickr.com/422/19574064780_65041893f8_o.jpg"
  }
]
Clone this wiki locally