Apollo API Documentation

Event categories API calls


List all categories

GET /events/categories?page=#{page}

Returns a list of all categories of the workspace ordered alphabetically. The {page} parameter is optional. The root response element will also have a “continued-at” attribute specifying the path where the next 25 categories can be retrieved.

Response

{
	"continued-at": "",
	"categories":{
		{
			"id":"54904646",
			"name":"A category",
			"created-by": "6447328282"
		},
		{
			"id":"43907176",
			"name":"Another category",
			"created-by": "869367284"
		},
		...
	}
}

Get category

GET /events/categories/#{id}

Returns a single category record identified by its integer ID.

Response

{
	"category":{
		"id":"94832146",
		"name":"A category",
    	"created-by": "2483685239"
	}
}