Skip to main content

Create Generic

Accessible by
  • Soulbound administrators
  • Organizations
Request
POST {uri:project-events} HTTP/1.1
Version: 1
Content-Type: "application/vnd.gg.soulbound.project.event.generic+json"
Authorization: Bearer <api-key>

{
"time": {time},
// additional properties are added here
}
NameTypeDescription
api-keystringThe client's API key
timestringThe ISO 8601 timestamp that the event took place at
On success
HTTP/1.1 201 Created
Date: Tue, 21 May 2002 12:34:56 GMT
Location: {uri:event}
NameTypeDescription
uri:eventstringThe URL of the new event
On illegal argument
HTTP/1.1 400 Bad Request
Date: Tue, 21 May 2002 12:34:56 GMT

{cause}
NameTypeDescription
causestringA user-friendly explanation of the conflict
Permission denied
HTTP/1.1 401 Unauthorized
Date: Tue, 21 May 2002 12:34:56 GMT
WWW-Authenticate: Bearer realm="https://api.soulbound.gg/"