Ziwako Docs
ZiwakoRéférence APIScans

Build scan

PUT
/scans/{id}/build

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/scans/string/build" \  -H "Content-Type: application/json" \  -d '{    "page": {      "title": "string"    },    "contextType": "store",    "owner": "string",    "ownerModel": "string"  }'
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "id": "string",    "status": "idle",    "page": {      "title": "string",      "description": "string",      "layout": [        {          "id": "string",          "type": "string",          "props": {}        }      ]    },    "contextType": "store",    "config": {      "partnersCollectionId": "string",      "position": {        "name": "string",        "location": {          "type": "Point",          "coordinates": [            0,            0          ]        }      },      "enableSetPosition": true,      "forceCurrentPosition": true,      "page": {        "allowedBlock": [          "string"        ]      }    },    "owner": "string",    "ownerModel": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}