POST
/
v1
/
resource
/
insert
curl --request POST \
  --url https://api.wetrocloud.com/v1/resource/insert/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'collection_id={{collection_id}}' \
  --form resource=https://en.wikipedia.org/wiki/Elizabeth_II \
  --form type=web
{
  "success": true,
  "tokens": 93718,
  "resource_id": "79621681-b680-4918-948d-d7f8c482426a"
}

Authorizations

Authorization
string
header
required

Body

multipart/form-data
collection_id
string
Example:

"{{collection_id}}"

resource
string
Example:

"https://en.wikipedia.org/wiki/Elizabeth_II"

type
string
Example:

"web"

Response

202
application/json
Accepted

The response is of type object.