PseudonymousKeyBatch endpoint The Identity Authority SHALL provide a PseudonymousKeyBatch end-point which provides the means to generate a batch of Pseudonymous Keys in one response packet for users whose API Credentials have the Generator role. The request body SHALL contain one parameter: Size. The response SHALL contain three parameters: An array of Pseudonymous Keys; the time stamp at which the response was generated; and a signature that can be used for validation. The IDA SHALL be capable of generating batches of up to 1000 Pseudonymous Keys in each request. Method Request Response Status Response Response Body Content-Type Body POST JSON 200 (OK) application/json JSON <IdentityAuthorityURI> /PseudonymousKeyBatch Any status None None Content of the request body JSON object: Key Type Description Required The number of Pseudonymous Keys to return in Size Yes Number the batch (integer 1<=N<=1000). Content of the response body JSON object: Key Type Description Required Array of Pseudonymous Keys that can be used Array of PseudonymousKeys Yes to represent Devices in the Architecture. String Time stamp, in DateTime format, indicating TimeStamp String Yes when the IDA created this response. Signature proving that an IDA created this Signature String Yes response. Status codes: 200: The operation was successful 400: The operation failed due to the request body being malformed or the size being out of range [1..1000] 401/403: The operation failed due to authentication or authorization failure. The caller SHOULD confirm its credentials and retry. 500: Internal error, the caller SHOULD retry Example Example request message POST /PseudonymousKeyBatch {"Size": 3} Corresponding example response message: HTTP/1.1 200 OK
PseudonymousKeyBatch endpoint The Identity Authority SHALL provide a PseudonymousKeyBatch end-point which provides the means to generate a batch of Pseudonymous Keys in one response packet for users whose API Credentials have the Generator role. The request body SHALL contain one parameter: Size. The response SHALL contain three parameters: An array of Pseudonymous Keys; the time stamp at which the response was generated; and a signature that can be used for validation. The IDA SHALL be capable of generating batches of up to 1000 Pseudonymous Keys in each request. Method Request Body Response Status Response Content-Type Response Body POST <IdentityAuthorityURI> /PseudonymousKeyBatch JSON 200 (OK) application/json JSON Any status None None Content of the request body JSON object: Key Type Description Required Size Number The number of Pseudonymous Keys to return in the batch (integer 1<=N<=1000). Yes Content of the response body JSON object: Key Type Description Required PseudonymousKeys Array of String Array of Pseudonymous Keys that can be used to represent Devices in the Architecture. Yes TimeStamp String Time stamp, in DateTime format, indicating when the IDA created this response. Yes Signature String Signature proving that an IDA created this response. Yes Status codes: 200: The operation was successful 400: The operation failed due to the request body being malformed or the size being out of range [1..1000] 401/403: The operation failed due to authentication or authorization failure. The caller SHOULD confirm its credentials and retry. 500: Internal error, the caller SHOULD retry Example Example request message POST /PseudonymousKeyBatch {"Size": 3} Corresponding example response message: HTTP/1.1 200 OK