...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
TODO
Excerpt | ||
---|---|---|
| ||
RESTful APIs for the “Event Store” feature, in which the registry functionality of the Learning Hub, where the hub acts as a centralized “clearinghouse” of accomplishments and activities to support system integrations. |
Calling the API
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Method | Explanation | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| These endpoints require an API Key, assigned by the system administrators. These should beCredentials assigned to a specific user or client.
If the endpoint requires a |
Publishing events into the Registry
...
Event Type
Info |
---|
TODO |
Publishing Events into the Registry
Info |
---|
“Events” are records of activity or accomplishment. These are published by a Program and other Programs can consume them. |
PUT /events/{eventId}
Handy status macro | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Info |
---|
Creates or updates an Event.
The API Key used for authentication must have rights to modify data for |
JSON Payload
Code Block |
---|
{
"ProgramId": "ProgramId",
"ProgramMemberId": "joebob@example.com",
"EventType": "Event Type indicator",
"EventStartUTC": "UTC date/time",
"EventEndUTC": "UTC date/time",
"EventData": { JSON },
"ReferenceEventId": "optional reference to another EventId"
} |
Parameter | Description |
---|---|
| The ID of the Event to create or update. Must be prefixed with |
| The Program that owns the Event. The API Key must have access to this Program. |
| Email address or some other piece of information that uniquely identifiers the primary participant within the Program’s system. |
| The type of Event this record represents. See the “Event Types” section, above. |
| The UTC date/time when this Event occurred, or the time that the Event started. |
| The UTC date/time when this Event ended. For Events with only a single timestamp, rather than a range, set this equal to |
| JSON object representing the Event in the source Program’s system. |
| Optional; used to reference another Event, if relevant. |
Response
Response Code | 200 OK |
---|---|
Headers |
|
Body | Empty |
...
Pulling events from the Registry
...