Get An Entity

To get an entity created by the owner, we need to make the following HTTP request

GET /api/v1/{entity-type}

Path Parameters

NameTypeDescription

entity-type*

String

The type of entity to retrieve

Headers

NameTypeDescription

authorization*

String

Set to Bearer {access-token} A valid token of the owner is required

viewTemplateId

String

File name of view templates configured

{
	"phoneNumber": "1234567890",
	"school": "UP Public School",
	"subject": "Math",
	"name": "Pranav Agate",
	"osid": "{id}",
	"osOwner": ["{owner-id}"],
	"_osState/school": "DRAFT"
}

Last updated