Import Coverage
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/coverage/import \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"version": "",
"description": "",
"domains": []
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/coverage/import"
payload = {
"name": "<string>",
"version": "",
"description": "",
"domains": []
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', version: '', description: '', domains: []})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/coverage/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}Coverage
Import Coverage
Import a coverage referential (JSON).
POST
/
api
/
v1
/
coverage
/
import
Import Coverage
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/coverage/import \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"version": "",
"description": "",
"domains": []
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/coverage/import"
payload = {
"name": "<string>",
"version": "",
"description": "",
"domains": []
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', version: '', description: '', domains: []})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/coverage/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}Authorizations
Body
application/json
Response
201 - application/json
Created
The response is of type Response · object.
