Closed sorru94 closed 6 months ago
Some of the examples in the Astarte pairing API swagger contain incorrect payloads.
/{realm_name}/devices/{hw_id}/protocols/astarte_mqtt_v1/credentials
Response example is:
{ "data": { "client_certificate": "..." } }
While it should be:
{ "data": { "client_crt": "..." } }
/{realm_name}/devices/{hw_id}/protocols/astarte_mqtt_v1/credentials/verify
Request body example is:
Response example is only showing the invalid case:
{ "data": { "valid": false, "cause": "INVALID_ISSUER" } }
While it should also show the valid case:
{ "data": { "valid": true, "until": "2025-03-25 19:25:00.000Z" } }
Closed by #908.
Some of the examples in the Astarte pairing API swagger contain incorrect payloads.
/{realm_name}/devices/{hw_id}/protocols/astarte_mqtt_v1/credentials
Response example is:
While it should be:
/{realm_name}/devices/{hw_id}/protocols/astarte_mqtt_v1/credentials/verify
Request body example is:
While it should be:
Response example is only showing the invalid case:
While it should also show the valid case: