Create or update a source file
Source code
Create or update a source file
Creates or replaces one head file. Pages, components, and modules require name; singleton types take only type. Takes the edit lease when no leaseToken is sent and returns changed: false for identical content.
PUT
Create or update a source file
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Body
application/json
Minimum string length:
1- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor.
Minimum string length:
1