PUT /sites/{site_id}/well_known

Upload a supported well-known file to a site.

The current restrictions on well-known files are as follows:

`.noext` is a special file extension that removes other extensions. For example, `apple-app-site-association.noext.txt` will be uploaded as `apple-app-site-association`. Use this extension for tools that have trouble uploading extensionless files.

This endpoint requires an Enterprise workspace.

Required scope: site_config:write

Servers

Path parameters

Name Type Required Description
site_id String Yes

Unique identifier for a Site

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
contentType String No

The content type of the file. Defaults to application/json

Possible values:

  • "application/json"
  • "text/plain"

Default value: "application/json"

fileName String Yes

The name of the file

fileData String Yes

The contents of the file

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.