@@ -972,6 +972,12 @@ Idempotency-Key: string
972972
973973<h3 id =" add-metadata-to-an-account-responseschema " >Response Schema</h3 >
974974
975+ ### Response Headers
976+
977+ | Status| Header| Type| Format| Description|
978+ | ---| ---| ---| ---| ---|
979+ | 204| Idempotency-Hit| string|| Indicates that the request was processed using an idempotency key that was already used|
980+
975981<aside class =" warning " >
976982To perform this operation, you must be authenticated by means of one of the following methods:
977983Authorization ( Scopes: ledger: write )
@@ -1025,6 +1031,12 @@ Delete metadata by key
10251031
10261032<h3 id =" delete-metadata-by-key-responseschema " >Response Schema</h3 >
10271033
1034+ ### Response Headers
1035+
1036+ | Status| Header| Type| Format| Description|
1037+ | ---| ---| ---| ---| ---|
1038+ | 204| Idempotency-Hit| string|| Indicates that the request was processed using an idempotency key that was already used|
1039+
10281040<aside class =" warning " >
10291041To perform this operation, you must be authenticated by means of one of the following methods:
10301042Authorization ( Scopes: ledger: write )
@@ -1476,6 +1488,12 @@ Idempotency-Key: string
14761488| 200| [ OK] ( https://tools.ietf.org/html/rfc7231#section-6.3.1 ) | OK| [ V2CreateTransactionResponse] ( #schemav2createtransactionresponse ) |
14771489| default| Default| Error| [ V2ErrorResponse] ( #schemav2errorresponse ) |
14781490
1491+ ### Response Headers
1492+
1493+ | Status| Header| Type| Format| Description|
1494+ | ---| ---| ---| ---| ---|
1495+ | 200| Idempotency-Hit| string|| Indicates that the request was processed using an idempotency key that was already used|
1496+
14791497<aside class =" warning " >
14801498To perform this operation, you must be authenticated by means of one of the following methods:
14811499Authorization ( Scopes: ledger: write )
@@ -1666,6 +1684,12 @@ Idempotency-Key: string
16661684
16671685<h3 id =" set-the-metadata-of-a-transaction-by-its-id-responseschema " >Response Schema</h3 >
16681686
1687+ ### Response Headers
1688+
1689+ | Status| Header| Type| Format| Description|
1690+ | ---| ---| ---| ---| ---|
1691+ | 204| Idempotency-Hit| string|| Indicates that the request was processed using an idempotency key that was already used|
1692+
16691693<aside class =" warning " >
16701694To perform this operation, you must be authenticated by means of one of the following methods:
16711695Authorization ( Scopes: ledger: write )
@@ -1682,6 +1706,7 @@ POST http://localhost:8080/v2/{ledger}/transactions/{id}/revert HTTP/1.1
16821706Host: localhost:8080
16831707Content-Type: application/json
16841708Accept: application/json
1709+ Idempotency-Key: string
16851710
16861711```
16871712
@@ -1707,6 +1732,7 @@ Accept: application/json
17071732| force| query| boolean| false| Force revert|
17081733| atEffectiveDate| query| boolean| false| Revert transaction at effective date of the original tx|
17091734| dryRun| query| boolean| false| Set the dryRun mode. dry run mode doesn't add the logs to the database or publish a message to the message broker.|
1735+ | Idempotency-Key| header| string| false| Use an idempotency key|
17101736| body| body| [ V2RevertTransactionRequest] ( #schemav2reverttransactionrequest ) | false| none|
17111737
17121738> Example responses
@@ -1809,6 +1835,12 @@ Accept: application/json
18091835| 201| [ Created] ( https://tools.ietf.org/html/rfc7231#section-6.3.2 ) | OK| [ V2CreateTransactionResponse] ( #schemav2createtransactionresponse ) |
18101836| default| Default| Error| [ V2ErrorResponse] ( #schemav2errorresponse ) |
18111837
1838+ ### Response Headers
1839+
1840+ | Status| Header| Type| Format| Description|
1841+ | ---| ---| ---| ---| ---|
1842+ | 201| Idempotency-Hit| string|| Indicates that the request was processed using an idempotency key that was already used|
1843+
18121844<aside class =" warning " >
18131845To perform this operation, you must be authenticated by means of one of the following methods:
18141846Authorization ( Scopes: ledger: write )
0 commit comments