POST signedreceipts/submit
POST /api/v1/signedreceipts/submit
POST /api/v1/signedreceipts/submit. Submits product conformance and JWKS URLs for badge evaluation.
This operation needs no authentication.
Request body
application/json object
conformance_urlstring (uri) requiredLength: at most 1024 characterscontactstring (email) requiredLength: at most 255 charactersjwks_urlstring (uri) requiredLength: at most 1024 characterslanguagestring requiredLength: at most 255 characterslicencestring requiredLength: at most 255 charactersnotesstringLength: at most 2000 charactersproductstring requiredLength: at most 255 charactersproduct_idstring requiredLength: at most 255 characters. Pattern:^[a-z0-9]+(-[a-z0-9]+)*$vendorstring requiredLength: at most 255 characters
Generated sample
{
"conformance_url": "https://example.com",
"contact": "user@example.com",
"jwks_url": "https://example.com",
"language": "string",
"licence": "string",
"notes": "string",
"product": "string",
"product_id": "string",
"vendor": "string"
}Responses
200 Successful response.
application/json object
contactstring (email) requiredreasonstringsubmission_idinteger requiredverdictstring requiredOne of:"pass","fail"
Generated sample
{
"contact": "user@example.com",
"reason": "string",
"submission_id": 0,
"verdict": "pass"
}422 The request failed validation.
application/json ReceiptsSignedSubmitValidationError
errorsobject requiredOther keys: array of string
messagestring required
429 The route throttle limit was exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string