Get all websites with their attributes
#OpenAPI definition
{
"openapi": "3.1.0",
"info": {
"title": "api",
"version": "4"
},
"servers": [
{
"url": "https://app.wingify.com/api/v2"
}
],
"components": {
"securitySchemes": {
"sec0": {
"type": "apiKey",
"in": "header",
"name": "token"
}
}
},
"security": [
{
"sec0": []
}
],
"paths": {
"/accounts/{account_id}/websites": {
"get": {
"summary": "Get all websites with their attributes",
"description": "",
"operationId": "get-all-websites",
"parameters": [
{
"name": "account_id",
"in": "path",
"description": "Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id",
"schema": {
"type": "string",
"default": "current"
},
"required": true
}
],
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{\n\"_data\": [\n {\n \"id\": 1,\n \"accountId\": 15001354,\n \"name\": \"Abc\",\n \"domain\": \"abc.com\",\n \"platform\": \"website\",\n \"isArchived\": false,\n \"archivedAt\": false,\n \"isRegistered\": true,\n \"createdAt\": 1704264266,\n \"lastUpdatedAt\": 1704264266,\n \"lastActivity\": null,\n \"status\": \"NO_SMARTCODE_DETECTED\"\n },\n {\n \"id\": 2,\n \"accountId\": 15001354,\n \"name\": \"Testing\",\n \"domain\": \"testing.com\",\n \"platform\": \"website\",\n \"isArchived\": false,\n \"archivedAt\": false,\n \"isRegistered\": true,\n \"createdAt\": 1704264407,\n \"lastUpdatedAt\": 1704264407,\n \"lastActivity\": null,\n \"status\": \"ERROR\"\n }\n]\n}"
}
},
"schema": {
"type": "object",
"properties": {
"_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1,
"default": 0
},
"accountId": {
"type": "integer",
"example": 15001354,
"default": 0
},
"name": {
"type": "string",
"example": "Abc"
},
"domain": {
"type": "string",
"example": "abc.com"
},
"platform": {
"type": "string",
"example": "website"
},
"isArchived": {
"type": "boolean",
"example": false,
"default": true
},
"archivedAt": {
"type": "boolean",
"example": false,
"default": true
},
"isRegistered": {
"type": "boolean",
"example": true,
"default": true
},
"createdAt": {
"type": "integer",
"example": 1704264266,
"default": 0
},
"lastUpdatedAt": {
"type": "integer",
"example": 1704264266,
"default": 0
},
"lastActivity": {},
"status": {
"type": "string",
"example": "NO_SMARTCODE_DETECTED"
}
}
}
}
}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
},
"deprecated": false
}
}
},
"x-readme": {
"headers": [],
"explorer-enabled": true,
"proxy-enabled": true
},
"x-readme-fauxas": true
}