Appearance
Organisation websites
Get all
Endpoint
sh
GET https://art.ayima.com/api/organisations/{organisationId}/websitesparameters
N/A
Response
json
{
"data": [
{
"id": "...",
"name": "...",
"url": "...",
"host": "...",
"domain": "...",
"is_competitor": "...",
"reports": "...",
"created_at": "..."
}
]
}Get singular
Endpoint
sh
GET https://art.ayima.com/api/organisations/{organisationId}/websites/{websiteId}Parameters
N/A
Response
json
{
"data": {
"id": "...",
"name": "...",
"url": "...",
"host": "...",
"domain": "...",
"is_competitor": "...",
"reports": "...",
"created_at": "..."
}
}Create
Endpoint
sh
POST https://art.ayima.com/api/organisations/{organisationId}/websitesparameters
| name | type | description | required |
|---|---|---|---|
| name | String | The name for the website you would like to create. | ✅ |
| website | String | The full website address. | ✅ |
| is_competitor | Boolean | Indication if the website should be associated as a competitor. | ✅ |
Response
json
{
"created": true
}Update
Endpoint
sh
PUT https://art.ayima.com/api/organisations//{organisationId}/website/{websiteId}parameters
| name | type | description | required |
|---|---|---|---|
| name | String | The name for the website you would like to create. | ✅ |
| website | String | The full website address. | ✅ |
| is_competitor | Boolean | Indication if the website should be associated as a competitor. | ✅ |
Response
json
{
"updated": true
}Delete
Endpoint
sh
DELETE https://art.ayima.com/api/organisations//{organisationId}/website/{websiteId}parameters
N/A
Response
json
{
"deleted": true
}