Get comments
/me/comments
Target audience: Developers
Introduction
This endpoint returns comments for the account.
URI
Environment |
URI |
Stage |
https://payway-api.stage.adeprimo.se/external/api/v1/me/comments |
Production |
https://backend.worldoftulo.com/external/api/v1/me/comments |
Required scope
Curl Example
curl --request GET \
--url https://payway-api.stage.adeprimo.se/external/api/v1/me/comments \
--header 'accept: application/json' \
--header 'authorization: Bearer <access_token_with_identity>'
Response
Example response
HTTP 200
{
"items": [
{
"id": "5ea16b1295cfebff3e3ae0c0",
"type": "comment",
"message": "Testkommentar",
"producer": "payway@adeprimo.se",
"created_at": "2020-04-23 12:16:50 +0200",
"updated_at": "2020-04-23 12:16:50 +0200"
},
{
"id": "5cd55c2e95cfeb42159a53ff",
"type": "comment",
"message": "Testar 123",
"producer": "payway@adeprimo.se",
"created_at": "2019-05-10 13:10:38 +0200",
"updated_at": "2019-05-10 13:10:38 +0200"
}
]
}
Errors
HTTP 400 Bad Request
Name |
Type |
Description |
unknown_parameter |
Object |
One or more parameters was not recognized |
HTTP 404 Not Found
Name |
Type |
Description |
not_found |
Object |
The account could not be found |
HTTP 500 Internal Server Error
Name |
Type |
Description |
internal_server_error |
Object |
Something unexpected happened server side |