sites
Lister les sites Tous les sites de l’espace de travail, du plus récent au plus ancien, avec leur adresse, leur forfait, la révision du brouillon et le contenu publié.
GET /v1/sites
Nécessite sites:read. Ne coûte aucun crédit.
Commencez ici pour obtenir un site_id. La valeur published d’un site est null jusqu’à sa première publication, et guest vaut true pour un site préparé par un agent que personne n’a encore revendiqué.
Autorisations Authorizationbearer in header required
dataobject[] required
Show child attributes data. statusenum<string> required one of: creating, ready, suspended, deleting
data. planenum<string> required one of: free, site
data. urlstring required
L’adresse à laquelle les visiteurs trouvent le site : son domaine personnalisé principal ou son adresse atelier201.page.
data. platform_urlstring required
data. guestboolean required
Préparé par un agent avant la connexion et pas encore revendiqué : le site peut être prévisualisé, mais pas publié.
data. draftobject required
Show child attributes data.draft. revisionstring | null required
data.draft. updated_atstring | null required
data. publishedobject | null required
Show child attributes data.published. build_idstring required
data.published. generationinteger required range: -9007199254740991–9007199254740991
data.published. published_atstring | null required
data. generationinteger required range: -9007199254740991–9007199254740991
Augmente à chaque publication, restauration ou dépublication. Renvoyez cette valeur sous forme de expected_generation.
data. cover_atstring | null required
Date de la dernière capture de l’image de la page d’accueil affichée par l’application sur la carte du site, après une compilation du site. Null avant la première capture.
data. created_atstring required
data. updated_atstring required
Codes possibles : invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : authentication_required, invalid_api_key, api_key_expired, api_key_revoked
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : insufficient_credits
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : insufficient_scope, feature_not_available, admin_required
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : resource_not_found
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : conflict, result_not_ready, idempotency_key_reused
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : result_expired
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : request_too_large
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : request_too_large_for_plan
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : rate_limited
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : internal_error
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Codes possibles : service_unavailable
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>