cURL
curl --request PUT \ --url https://api.veryfront.com/projects/{project_reference}/resources/{resource_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "pattern": "<string>", "description": "<string>", "title": "<string>" } '
{ "id": "<string>", "pattern": "<string>", "description": "<string>", "title": "<string>", "source_path": "<string>", "source": "<string>", "edit_mode": "structured", "source_only_reasons": [ "<string>" ] }
Updates a structured project resource source file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Resource identifier
1
Updated resource document
structured
source_only