MeshTale Docs
POST
/v1/memories/bulk/approve

Authorization

AuthorizationBearer <token>

In: header

Header Parameters

Idempotency-Key*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memories/bulk/approve" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "memoryIds": [      "b848307f-97ed-4faa-9072-3968d85eb219"    ]  }'
{  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",  "replayed": true,  "summary": {    "requested": 0,    "succeeded": 0,    "failed": 0  },  "results": [    {      "memoryId": "b1f430cb-5ca1-47b5-9926-b762942c6562",      "ok": true,      "memory": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2",        "submissionStatus": "approved",        "audienceTag": "string",        "indexingStatus": "pending"      },      "auditLogId": "8c85466e-a824-44f4-b05a-bec7e4cee4ba",      "indexingEnqueued": true    }  ]}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}
{  "error": "string",  "message": "string",  "details": {}}