Skip to main content
POST

JSON Ledger API

Behaves the same as /dars

OpenAPISince 3.4Changed 3.5
Behaves the same as /dars. This endpoint will be deprecated and removed in a future release. Upload a DAR file to the participant. If vetting is enabled in the request, the DAR is checked for upgrade compatibility with the set of the already vetted packages on the target vetting synchronizer See UploadDarFileRequest for details regarding vetting and the target vetting synchronizer.

Protocol Details

Inputs

Query parameters

boolean
string

Request body

application/octet-stream
string
required
OpenAPI type: string (binary).

Outputs

200

application/json
UploadDarFileResponse
required
A message that is received when the upload operation succeeded.

400

text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Changed3.5

The POST /v2/packages operation changed in this snapshot.

Introduced3.4