List the distinct log sources for the account.
GET
/logs/sources
const url = 'https://api.siteqwality.com/logs/sources';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.siteqwality.com/logs/sources \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Log sources
Media type application/json
object
sources
required
Array<string>
Example generated
{ "sources": [ "example" ]}Missing or invalid authentication
Internal server error