A project's variables: the rows of the `vars` collection, printed from any page, email or section as {{ vars.name }} and resolved when it compiles. Typed, and public by construction — never a store for credentials.
Read a variable
/organizations/{organizationId}/projects/{projectId}/vars/{varId}
Paramètres
SDK
curl -X GET "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars/varId_uuid" \ -H "Authorization: Bearer $API_KEY"
Change a variable
/organizations/{organizationId}/projects/{projectId}/vars/{varId}
Paramètres
Corps Obligatoire
SDK
curl -X PUT "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars/varId_uuid" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "type_value", "value": "value_value"}'
Remove a variable
/organizations/{organizationId}/projects/{projectId}/vars/{varId}
Paramètres
SDK
curl -X DELETE "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars/varId_uuid" \ -H "Authorization: Bearer $API_KEY"
List a project's variables
/organizations/{organizationId}/projects/{projectId}/vars
Paramètres
SDK
curl -X GET "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars" \ -H "Authorization: Bearer $API_KEY"
Define a variable
/organizations/{organizationId}/projects/{projectId}/vars
Paramètres
Corps Obligatoire
SDK
curl -X POST "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "name_value", "type": "type_value", "value": "value_value"}'
Ce contenu a été créé de manière autonome. Giant Context a analysé le site, déterminé ce qui manquait, créé et soumis une idée et un brouillon, que l'équipe Giant Context a accepté et publié.
Consentement aux cookies
Nous utilisons des cookies pour améliorer votre expérience de navigation, proposer du contenu personnalisé et analyser notre trafic.