campsych/concerto-platform

Provide API response code documentation

snaeil opened this issue · 2 comments

Hello Concerto Team,

I recognized, that responses for API requests can have different codes.

For example following response:

{
    "source": 0,
    "code": 14,
    "hash": "cb892c2c9ca7d9308a0cd842e5e5ec4069be423b"
}

or

{
    "source": 1,
    "code": -1,
    "data": [],
    "hash": "81c5fe1d24e0315a44d1c1b0c3f72eb5beef7cd1"
}

Is there documentation for which response codes can occur with which requests?
And what the codes say in each case?

Hello @snaeil, did you was able to use the submit api-service? I'm having the same behavior as yours. Thank you

I was able to use the API but I was not able to find out, what some of the specific codes mean...