Skip to content

Commit cf2bafa

Browse files
committed
CCM-12327: readme
1 parent 3e8876f commit cf2bafa

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lambdas/backend-api/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ curl -X POST --location "${APIG_STAGE}/v1/template/${TEMPLATE_ID}" \
4242
--header 'Content-Type: application/json' \
4343
--header 'Accept: application/json' \
4444
--header "Authorization: $SANDBOX_TOKEN" \
45+
--header "X-Lock-Number: $CURRENT_LOCK_NUMBER" \
4546
--data '{
4647
"name": "<string>",
4748
"message": "<string>",
@@ -106,7 +107,8 @@ Will delete a single template.
106107

107108
```bash
108109
curl -X POST --location "${APIG_STAGE}/v1/template/${TEMPLATE_ID" \
109-
--header "Authorization: $SANDBOX_TOKEN"
110+
--header "Authorization: $SANDBOX_TOKEN" \
111+
--header "X-Lock-Number: $CURRENT_LOCK_NUMBER"
110112
```
111113
112114
### PATCH - /v1/template/:templateId/submit - Submit a template
@@ -116,7 +118,8 @@ Will submit a template.
116118
```bash
117119
curl -X PATCH --location "${APIG_STAGE}/v1/template/${TEMPLATE_ID}/submit" \
118120
--header 'Accept: application/json' \
119-
--header "Authorization: $SANDBOX_TOKEN"
121+
--header "Authorization: $SANDBOX_TOKEN" \
122+
--header "X-Lock-Number: $CURRENT_LOCK_NUMBER"
120123
```
121124
122125
### POST - /v1/template/:templateId/proof - Request a proof of a template
@@ -126,7 +129,8 @@ Will trigger a proof request for the template.
126129
```bash
127130
curl -X POST --location "${APIG_STAGE}/v1/template/${TEMPLATE_ID}/proof" \
128131
--header 'Accept: application/json' \
129-
--header "Authorization: $SANDBOX_TOKEN"
132+
--header "Authorization: $SANDBOX_TOKEN" \
133+
--header "X-Lock-Number: $CURRENT_LOCK_NUMBER"
130134
```
131135
132136
### GET - /v1/client-configuration - Get client configuration for the caller

0 commit comments

Comments
 (0)