Create a Broken Links Checker global configuration
Creates a Broken Links Checker global configuration: a named scan schedule you then assign to websites. Creating it scans nothing yet: assign websites with “Assign websites to a Broken Links Checker global configuration”.
The global configuration is always enabled and has no status: scans are paused per website, with “Update a website’s Broken Links Checker settings”. The page cap and the exclusions are per website too. A field you send must carry a value: an explicit null or a blank string answers 422, like leaving a required field out.
Body
name(string, required): the configuration’s name, at most 255 characters.schedule(object, required): when scans run.frequency(weeklyormonthly, required): your plan decides which are available.start_hour(HH:MM, required): 24 hours.timezone(string, required): IANA name, for exampleUTC.day_week(mondaytosunday, required for a weekly schedule, refused otherwise).day_month(integer from 1 to 31, required for a monthly schedule, refused otherwise).
check_internal,check_external,check_mixed_content(boolean, optional): defaulttrue.resource_types(array of strings, optional): what discovery extracts, at least one oflink,image,script,stylesheet,og_imageorcanonical. Defaultlink,image,script,stylesheet.mode(plainorrender, optional): defaultplain.renderruns WordPress filters on the page content first and loads the website more.default(boolean, optional):truemakes it the configuration new websites receive.
Errors
- 422:
max_pagesorexcludedis sent, or a field is sent asnullor blank.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Request
This endpoint expects an object.
check_external
default
name
schedule
Response headers
Location
Response
201 - Broken Links configuration created
data
jsonapi
Errors
422
Unprocessable Entity Error
