/Website/Domain (GET)
GET
/Website/Domain
const url = 'https://api.chatfood.app/Website/Domain';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.chatfood.app/Website/Domain \ --header 'Authorization: Bearer <token>'Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”accountId
string format: uuid
Responses
Seção intitulada “Responses”OK
Array<object>
object
id
string format: uuid
createdAt
string format: date-time
updatedAt
string format: date-time
accountId
string format: uuid
host
string
urlPattern
integer format: int32
langSegmentIndex
integer format: int32
langQueryParam
string
weight
integer format: int32
defaultLanguage
string
metricsEnabled
boolean
utmSourceValue
string
utmMediumValue
string
utmCampaignValue
string
utmTermValue
string
utmContentValue
string
createdBy
string format: uuid
categories
Array<object>
object
categoryId
string format: uuid
weight
integer format: int32
languages
Array<string>
directories
Array<object>
object
id
string format: uuid
createdAt
string format: date-time
updatedAt
string format: date-time
domainId
string format: uuid
path
string
name
string
weight
integer format: int32
metricsEnabled
boolean
utmCampaignValue
string
utmTermValue
string
utmContentValue
string
categories
Array<object>
object
categoryId
string format: uuid
weight
integer format: int32
Array<object>
object
id
string format: uuid
createdAt
string format: date-time
updatedAt
string format: date-time
accountId
string format: uuid
host
string
urlPattern
integer format: int32
langSegmentIndex
integer format: int32
langQueryParam
string
weight
integer format: int32
defaultLanguage
string
metricsEnabled
boolean
utmSourceValue
string
utmMediumValue
string
utmCampaignValue
string
utmTermValue
string
utmContentValue
string
createdBy
string format: uuid
categories
Array<object>
object
categoryId
string format: uuid
weight
integer format: int32
languages
Array<string>
directories
Array<object>
object
id
string format: uuid
createdAt
string format: date-time
updatedAt
string format: date-time
domainId
string format: uuid
path
string
name
string
weight
integer format: int32
metricsEnabled
boolean
utmCampaignValue
string
utmTermValue
string
utmContentValue
string
categories
Array<object>
object
categoryId
string format: uuid
weight
integer format: int32
Example
[ { "urlPattern": 0 }]Array<object>
object
id
string format: uuid
createdAt
string format: date-time
updatedAt
string format: date-time
accountId
string format: uuid
host
string
urlPattern
integer format: int32
langSegmentIndex
integer format: int32
langQueryParam
string
weight
integer format: int32
defaultLanguage
string
metricsEnabled
boolean
utmSourceValue
string
utmMediumValue
string
utmCampaignValue
string
utmTermValue
string
utmContentValue
string
createdBy
string format: uuid
categories
Array<object>
object
categoryId
string format: uuid
weight
integer format: int32
languages
Array<string>
directories
Array<object>
object
id
string format: uuid
createdAt
string format: date-time
updatedAt
string format: date-time
domainId
string format: uuid
path
string
name
string
weight
integer format: int32
metricsEnabled
boolean
utmCampaignValue
string
utmTermValue
string
utmContentValue
string
categories
Array<object>
object
categoryId
string format: uuid
weight
integer format: int32
Example
[ { "urlPattern": 0 }]