Description and explanation of common API actions
domain
to query domains)
insert_*
update_*
delete_*
*_by_pk
suffix. These are handy when acting against a singular entry and writing a simpler query. Instead of writing a _where
clause that filters the results by the id
you want, these queries and mutations need only an id
argument.
Both of these queries return the same result:
checkoutDomain
and checkoutServer
mutations to prevent overlapping checkouts, attempts to checkout unavailable resources, and issues with bad dates. If a checkout passes all the checks, these actions also update the resource being checked out to mark them as unavailable.
Likewise, there are matching deleteDomainCheckout
and deleteServerCheckout
mutations. As needed, these mutations set the domain or server back to the “available” status.
deleteEvidence
and deleteTemplate
mutations. These actions delete the database records and the files stored on the server’s filesystem.
generateReport
mutation to get report data for a given report ID. The results offer the download URLs for docx, xlsx, and pptx. You can also request reportData
, which is the raw JSON report data encoded as base64.