access amplifier
amp-access authorization endpoint can return a free form JSON object :
It has a short list of possible ideas for properties that can be returned from the authorization endpoint:
- Information about measurements: the maximum allowable number of views and the current number of views.
- Whether Reader or Subscriber is available.
- More detailed type of subscription: basic, premium
- Geography: country, region, area of โโuser publications
amp form
amp-form "allows publishers to display responses using Advanced Templates ." The response is expected to be a valid JSON object. Try the demo โHiding input fields after successโ in an ampere-shaped image to see it in action.

amp list
amp-list dynamically outputs content from the CORS JSON endpoint and displays it using the supplied template. "The response must be a JSON object that contains the property of the elements array.
In addition to {{variable}} substitutions in Mustache templates, you can also use AUTHDATA(variable) elsewhere.
amp-live-list (not really)
amp-live-list is a "wrapper and minimal user interface for content that is updated in real time on the client instance as new content is available in the source document." The page will reload, giving the server a change to send new content. If new content is found, AMP will populate the <div items> element with new (HTML) items . You cannot use this as a variable.
source share