POST /v2/dars
POST
Upload a DAR to the participant node
OpenAPIUpdated 3.5
Authorizations
httpAuth
Authorization
string
required
HTTP bearer authentication. Send the token as
Authorization: Bearer <token>. Ledger API standard JWT tokenapiKeyAuth
Sec-WebSocket-Protocol
string
required
API key authentication in the header. Ledger API standard JWT token (websocket)
Query parameters
vetAllPackages
boolean
synchronizerId
string
Body
application/octet-stream
value
string
required
OpenAPI type:
string (binary).Responses
200
application/json
value
UploadDarFileResponse
required
A message that is received when the upload operation succeeded.
400
Invalid value, Invalid value for: body, Invalid value for: query parameter vetAllPackages, Invalid value for: query parameter synchronizerIdtext/plain
value
string
required
default
application/json
code
string
required
cause
string
required
correlationId
string
traceId
string
context
Map_String
required
resources
Tuple2_String_String[]
errorCategory
integer (int32)
required
grpcCodeValue
integer (int32)
retryInfo
string
definiteAnswer
boolean
History
Updated
3.5The POST /v2/dars operation changed in this snapshot.