Apollo API Documentation

Companies API calls


Get companies

GET /companies

Returns a list of all companies visible to the requesting user.

Response

{
	"companies":[
		{
			"id":"57589574",
			"name":"UNOBOX",
			...
		},
		{
			"id":"70376540",
			"name":"Intelligent Pineapple Web Design",
			...
		},
		...
	]
}

Get companies (within project)

GET /projects/#{project_id}/companies

Returns a list of all companies associated with the given project.

Response

{
	"companies":[
		{
			"id":"57589574",
			"name":"UNOBOX",
			...
		},
		{
			"id":"70376540",
			"name":"Intelligent Pineapple Web Design",
			...
		},
		...
	]
}

Get company

GET /companies/#{company_id}

Returns a single company identified by its integer ID.

Response


{
	"company":{
		"id":"70376540",
		"name":"Intelligent Pineapple Web Design",
		...
	}
}