barcodeasfen.blogg.se

Javascript create keyclick
Javascript create keyclick













javascript create keyclick

A URL endpoint may return a collection of resources.

javascript create keyclick

"petition_text": "Mayor Doe, stop doing the bad thing.", "description": "Please stop doing this really bad thing.", Any resource that is embedded will always also be linked in the _links section.įor example, here is a petition with an embedded creator: For example, when you request a petition resource, the API will embed the person resource of the creator of that petition along with the petition resource itself, saving you an API call to find out who created the petition in question.Įmbedded resources are prefixed with the _embedded field name. The Action Network API will sometimes embed related resources within a parent resource for convenience. Here is an example of a person resource with a native and foreign identifier, created_at and modified_at fields, and links to various related resources: Resources also have created_at and modified_at fields, created by our system, and a hash of _links pointing to various URL endpoints that are related to that resource, including at least one pointing to itself (the self link). Identifiers must be unique at least by type. Resources have an array of identifiers - one and only one generated by the Action Network when that resource is created, as well as any foreign identifiers you have passed in when you create resources using POST or modify them using PUT. An individual person is a resource, as is a petition, as is an action a specific person takes on a petition. You can revoke your key and regenerate a new one from the API & Sync page.ĪPI keys must be sent as a header in this format:Īpi-key: Back To Top ↑Īlmost everything in the Action Network API is a resource. Therefore, the Action Network API is not suitable for front end-only implementations (such as a javascript client), as this could expose your API key to others. Anyone with your API key will be able to access any data in your account. After you select the list, you can generate an API key for that list. Choosing any groups you are an administrator of allows you to add actions or people to that group's list.

javascript create keyclick

Choosing your personal list will allow you to add actions and people to your personal account's email list. Once on the page, first choose the list you want to generate a key for. Once you've been given access to our API, you can generate and manage your key from the API & Sync page, located in the upper right dropdown menu under your name. You can manage your keys from the API & Sync page. Each user account and group on the Action Network has a separate API key allowing you to access that user or group's data. API keys are provided by request, and are considered a partner feature. Click here for campaigns documentation.Ī link to the main documentation for this API.Īn API key is required to access the API. Click here for event campaigns documentation.Ī link to a collection of campaign resources associated with your API key.

javascript create keyclick

Click here for forms documentation.Ī link to a collection of event campaign resources associated with your API key. Click here for queries documentation.Ī link to a collection of form resources associated with your API key. Click here for donations documentation.Ī link to a collection of query resources associated with your API key. Click here for fundraising pages documentation.Ī link to a collection of donation resources associated with your API key. Click here for petitions documentation.Ī link to a collection of fundraising page resources associated with your API key. Click here for events documentation.Ī link to a collection of petition resources associated with your API key. Click here for questions documentation.Ī link to a collection of event resources associated with your API key. Click here for people documentation.Ī link to a collection of question resources associated with your API key. A link to this individual signature resource.Ī link to a collection of people resources associated with your API key.















Javascript create keyclick