Sites

See who can view this site

Whether the live site is public or password-protected. canEnable is true when the workspace is on CORE, or when the site is already protected (the password can still be changed after CORE ends). The password hash is never returned.

get/api/v1/sites/{slug}/access

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/sites/{slug}/access
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

slugstring required
Example:acme-studio

Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.

Response

The site's visitor access.

access'public' | 'password' required

public, or password-protected.

workspacePlan'free' | 'core' required

The owning workspace's plan. free when it has no plan row.

canEnableboolean required

True when protection can be turned on: the workspace is on CORE, or this site is already protected.

Changes

No recorded changes to this operation across all 1 revision of this API.