Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleReturn Attributes

self: The current page being viewed

first: The first page in the data set

last: The last page in the data set. If this matches the value in first, the data set has been returned in full in the list option.

next: The next page in the data set, following the current page, self

prev: The previous page in the data set, preceding the current page, self

list: The data range of the current self request page

Example

...

Responses

A request to verify enrollment of user 200 in course 300, where the user is enrolled in the course. The call http://your-domain.com/course_enrollment.json?uid=200&nid=300 will return the following:

...

Info
titleReturn Attributes

uri: The web URI

id: The entity id

resource: The entity type

uuid: The unique universal id

Example

...

Response

A user creation call.

Code Block
languagephp
titleView creation response
linenumberstrue
stdClass Object
(
    [uri] => http://your-domain.com/user/200
    [id] => 200
    [resource] => user
    [uuid] => 2fd044c5-ff4a-4bfe-8472-9b9b56eb0fc6
)

...