Swagger

Grenseløse grensenitt - nextMove

/out/messages

POST

Parameters

Name Located in Description Type
receiver-id query Integer
messagetype-id query String
conversation-id query String

Responses

200 Creates resource for uploading messages

GET

Parameters

Name Located in Description Type
receiver-id query receiver-id to filter by Integer
messagetype-id path messagetype-id to filter by Integer

Responses

200 sent messages response

/out/messages/{conversation-id}

POST

Parameters

Name Located in Description Type
conversation-id path id for message String

Responses

200 updates message
400 invalid id

GET

Parameters

Name Located in Description Type
conversation-id path Id of sent message Integer

Responses

200 status for message by conversation-id

/tracings/{conversation-id}

GET

Parameters

Name Located in Description Type
conversation-id path Id of sent message String
messagetype-id query filter by messagetype Integer
lastonly query filter to only return all trace messages, default is last Boolean

Responses

200 list of trace messages

/out/types/{receiverId}

GET

Parameters

Name Located in Description Type
receiverId path Receiver identifier String

Responses

200 Successful response

/out/types/{messageTypeId}/prototype

GET

Parameters

Name Located in Description Type
messageTypeId path valid id of message type String
receiver query Intended reciever of message String

Responses

200 Successful response

/in/messages

GET

Parameters

Name Located in Description Type
messagetypeId query valid id of message type String
conversationId query Id of received message String

Responses

200 Incoming message(s)

/in/messages/pop

GET

Parameters

Name Located in Description Type
messageTypeId query valid id of message type String

Responses

200 First incoming message in queue

/in/messages/file

GET

Parameters

Name Located in Description Type
conversationId query valid message id String
fileId query id of the file String

Responses

200 File with given id