Loutre · Galerie d'API · Docs · Comparatif
Mock de l'API Netlify
Sites, déploiements et formulaires de l'API Netlify.
L'API Netlify : sites, déploiements, hooks, formulaires et comptes. Pour un tableau de bord de déploiements ou une extension, sans déclencher un seul build.
Adresse du mock : https://netlify-api.loutre.run
curl https://netlify-api.loutre.run/sitesLes 120 routes
GET /accountsPOST /accountsGET /accounts/typesGET /accounts/{account_id}PUT /accounts/{account_id}DELETE /accounts/{account_id}GET /accounts/{account_id}/auditGET /accounts/{account_id}/env: Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. To use thiPOST /accounts/{account_id}/env: Creates new environment variables. Granular scopes are available on Pro plans and above. To use this endpoint, your sitGET /accounts/{account_id}/env/{key}: Returns an individual environment variable. To use this endpoint, your site must no longer be using the <a href="https:/PUT /accounts/{account_id}/env/{key}: Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. ToPATCH /accounts/{account_id}/env/{key}: Updates or creates a new value for an existing environment variable. To use this endpoint, your site must no longer be uDELETE /accounts/{account_id}/env/{key}: Deletes an environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netliDELETE /accounts/{account_id}/env/{key}/value/{id}: Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the <a href="httpGET /billing/payment_methodsGET /builds/{build_id}POST /builds/{build_id}/logPOST /builds/{build_id}/startGET /deploy_keysPOST /deploy_keysGET /deploy_keys/{key_id}DELETE /deploy_keys/{key_id}GET /deploys/{deploy_id}DELETE /deploys/{deploy_id}POST /deploys/{deploy_id}/cancelPUT /deploys/{deploy_id}/files/{path}PUT /deploys/{deploy_id}/functions/{name}POST /deploys/{deploy_id}/lockPOST /deploys/{deploy_id}/plugin_runs: This is an internal-only endpoint.POST /deploys/{deploy_id}/unlockGET /dns_zonesPOST /dns_zonesGET /dns_zones/{zone_id}DELETE /dns_zones/{zone_id}GET /dns_zones/{zone_id}/dns_recordsPOST /dns_zones/{zone_id}/dns_recordsGET /dns_zones/{zone_id}/dns_records/{dns_record_id}DELETE /dns_zones/{zone_id}/dns_records/{dns_record_id}PUT /dns_zones/{zone_id}/transferGET /forms/{form_id}/submissions
Source de la spec : Netlify, licence MIT. Netlify API mock · fake Netlify API
Dans la même veine : DigitalOcean