broadmind-chainstream-root-api-eu-dev

Version: 2023-05-20T22:03:21Z

Security

broadmind-chainstream-semaphore-api-eu-dev

apiKeyAPI Key
NameAuthorization
Inheader
x-amazon-apigateway-authtypecustom

broadmind-chainstream-root-eu-dev

apiKeyAPI Key
NameAuthorization
Inheader
x-amazon-apigateway-authtypecustom

lambdaAuthorizer

apiKeyAPI Key
NameAuthorization
Inheader
x-amazon-apigateway-authtypecustom

Schemes: https


/apikey/readKeys

GET

Parameters
NameLocated inDescriptionRequiredSchema
directionqueryNostring
pagequeryNostring
orderByqueryNostring
startKeyqueryNostring
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyPagedListOwnerKeysResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/apikey/upsertKey

POST

Parameters
NameLocated inDescriptionRequiredSchema
ApikeyUpsertRequestbodyYesApikeyUpsertRequest
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyUpsertResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)ApikeyErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/auth/usernameGetToken

POST

Parameters
NameLocated inDescriptionRequiredSchema
AuthUsernameSessionTokenRequestbodyYesAuthUsernameSessionTokenRequest
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthSessionTokenResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)AuthErrorResponse

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/cognito

POST

Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)CognitoErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)CognitoErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)CognitoErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)CognitoErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)CognitoErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)CognitoErrorResponse

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/info

GET

Responses
CodeDescriptionSchema
200200 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)
400400 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
401401 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
403403 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
404404 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
409409 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
500500 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/info-auth

GET

Responses
CodeDescriptionSchema
200200 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)
400400 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
401401 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
403403 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
404404 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
409409 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
500500 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)ErrorResponse
Security
Security SchemaScopes
lambdaAuthorizer

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/semaphore

GET

Summary

Returns a semaphore's settings

Parameters
NameLocated inDescriptionRequiredSchema
idqueryNostring
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreReadResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

POST

Summary

Creates or updates a semaphore's settings. Omit the id in input to create a new semaphore.

Parameters
NameLocated inDescriptionRequiredSchema
SemaphoreUpsertRequestbodyYesSemaphoreUpsertRequest
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreReadResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/semaphore/list

GET

Summary

List semaphores. Use .startKey to page through results

Parameters
NameLocated inDescriptionRequiredSchema
startKeyqueryNostring
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphorePagedSemaphoreListReadResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/semaphore/{semaphoreId}/acquire

POST

Parameters
NameLocated inDescriptionRequiredSchema
semaphoreIdpathYesstring
Responses
CodeDescription
200200 response
400400 response
500500 response
Security
Security SchemaScopes
broadmind-chainstream-semaphore-api-eu-dev

/semaphore/{semaphoreId}/acquireSync

POST

Summary

Synchronously acquire a semaphore lock. Immediately returns either an acquired or rejected status.

Parameters
NameLocated inDescriptionRequiredSchema
semaphoreIdpathYesstring
SemaphoreLockRequestbodyYesSemaphoreLockRequest
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreSyncLockResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Parameters
NameLocated inDescriptionRequiredSchema
semaphoreIdpathYesstring
Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/semaphore/{semaphoreId}/release

POST

Summary

Release a semaphore lock.

Parameters
NameLocated inDescriptionRequiredSchema
semaphoreIdpathYesstring
SemaphoreLockRequestbodyYesSemaphoreLockRequest
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreOkResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)SemaphoreErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Parameters
NameLocated inDescriptionRequiredSchema
semaphoreIdpathYesstring
Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/user

GET

Parameters
NameLocated inDescriptionRequiredSchema
idqueryNostring
Responses
CodeDescriptionSchema
200200 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserReadResponse
400400 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserErrorResponse
401401 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserErrorResponse
403403 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserErrorResponse
404404 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserErrorResponse
409409 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserErrorResponse
500500 responseHeaders:Cache-Control (string)Access-Control-Allow-Origin (string)Vary (string)Last-Modified (string)Content-Type (string)UserErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

PUT

Parameters
NameLocated inDescriptionRequiredSchema
UserUpdateRequestbodyYesUserUpdateRequest
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserReadResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/user/activityStream

GET

Parameters
NameLocated inDescriptionRequiredSchema
afterqueryNostring
limitqueryNostring
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserAnyResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

/user/current

GET

Parameters
NameLocated inDescriptionRequiredSchema
idqueryNostring
Responses
CodeDescriptionSchema
200200 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserReadResponse
400400 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
401401 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
403403 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
404404 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
409409 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
500500 responseHeaders:Access-Control-Allow-Origin (string)Content-Type (string)UserErrorResponse
Security
Security SchemaScopes
broadmind-chainstream-root-eu-dev

OPTIONS

Responses
CodeDescription
200200 responseHeaders:Access-Control-Allow-Origin (string)Access-Control-Allow-Methods (string)Access-Control-Allow-Headers (string)

Models

ApikeyErrorResponse

NameTypeDescriptionRequired
errorMessagestringNo
errorCodestringNo
statusCodenumberNo

AuthUsernameSessionTokenRequest

NameTypeDescriptionRequired
passwordstringYes
usernamestringYes

CognitoErrorResponse

NameTypeDescriptionRequired
errorMessagestringNo
errorCodestringNo
statusCodenumberNo

ApikeyPagedListOwnerKeysResponse

NameTypeDescriptionRequired
Items[ { "owner": string, "maskKey": string, "reference": string, "lastUsed": number, "created": string, "totalUsed": number, "title": string, "isActive": boolean, "updated": string, "hash": string } ]No
CountnumberNo
ScannedCountnumberNo
LastEvaluatedKeystringNo

SemaphoreReadResponse

SemaphoreReadResponse Model

NameTypeDescriptionRequired
ownerstringNo
createdstringNo
maxValuenumberNo
coverImagestringNo
callbackstringNo
idstringNo
titlestringNo
isActivebooleanNo
updatedstringNo

AuthSessionTokenResponse

NameTypeDescriptionRequired
jwtstringNo

ApikeyUpsertRequest

NameTypeDescriptionRequired
ApikeyUpsertRequest

SemaphoreSyncLockResponse

SemaphoreSyncLockResponse Model

NameTypeDescriptionRequired
semaphoreIdstringYes
successbooleanNo
channelIdstringNo

SemaphorePagedSemaphoreListReadResponse

PagedSemaphoreListReadResponse Model

NameTypeDescriptionRequired
Items[ { "owner": string, "created": string, "maxValue": number, "coverImage": string, "callback": string, "id": string, "title": string, "isActive": boolean, "updated": string } ]No
CountnumberNo
ScannedCountnumberNo
LastEvaluatedKeystringNo

ErrorResponse

NameTypeDescriptionRequired
errorMessagestringNo
errorCodestringNo
statusCodenumberNo

UserAnyResponse

NameTypeDescriptionRequired
UserAnyResponseobject

SemaphoreLockRequest

SemaphoreLockRequest Model

NameTypeDescriptionRequired
channelIdstringNo

SemaphoreUpsertRequest

SemaphoreUpsertRequest Model

NameTypeDescriptionRequired
ownerstringNo
createdstringNo
maxValuenumberNo
coverImagestringNo
callbackstringNo
idstringNo
titlestringNo
isActivebooleanNo
updatedstringNo

ApikeyUpsertResponse

NameTypeDescriptionRequired
ApikeyUpsertResponse

UserErrorResponse

NameTypeDescriptionRequired
errorMessagestringNo
errorCodestringNo
statusCodenumberNo

AuthErrorResponse

NameTypeDescriptionRequired
errorMessagestringNo
errorCodestringNo
statusCodenumberNo

SemaphoreErrorResponse

ErrorResponse Model

NameTypeDescriptionRequired
errorMessagestringNo
errorCodestringNo
statusCodenumberNo

SemaphoreOkResponse

OkResponse Model

NameTypeDescriptionRequired
okbooleanNo

UserReadResponse

NameTypeDescriptionRequired
passwordstringNo
phonestringNo
permissionsstringNo
namestringNo
idstringNo
emailstringNo
accountstringNo
usernamestringNo
statusstringNo

UserUpdateRequest

NameTypeDescriptionRequired
passwordstringNo
phonestringNo
permissionsstringNo
namestringNo
idstringNo
emailstringNo
accountstringNo
usernamestringNo
statusstringNo