Apply suggestion
POST
/api/v1/workflows/{workflowId}/smart/suggestions/{id}/apply
const url = 'https://dashboard.justcrawl.io/api/v1/workflows/example/smart/suggestions/example/apply';const options = {method: 'POST', 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 POST \ --url https://dashboard.justcrawl.io/api/v1/workflows/example/smart/suggestions/example/apply \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workflowId
required
string
id
required
string
Responses
Section titled “ Responses ”Suggestion applied successfully
Media type application/json
object
workflowId
string
providerOrder
Array<string>
Example generated
{ "workflowId": "example", "providerOrder": [ "example" ]}Suggestion already resolved