DataSrc:DemoJan25/StrapiEvents: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 3: Line 3:
    <!-- 1) Fetch the data with #get_web_data -->
    <!-- 1) Fetch the data with #get_web_data -->
    {{#get_web_data:
    {{#get_web_data:
       |url    = https://unitapedia.univ-unita.eu/strapi/api/events
       |url    = https://unitapedia.univ-unita.eu/strapi/api/events?populate=events,SupplementaryInfo
       |format  = json
       |format  = json
       |debug  = 1
       |debug  = 1
    Line 24: Line 24:
         CreatedAt    = createdAt,
         CreatedAt    = createdAt,
         UpdatedAt    = updatedAt,
         UpdatedAt    = updatedAt,
         PublishedAt  = data.1.attributes.publishedAt,
         PublishedAt  = publishedAt,
         EventType    = data.1.attributes.events.1.Type,
         EventType    = data.1.attributes.events.1.Type,
         Participants  = data.1.attributes.events.1.Participants,
         Participants  = data.1.attributes.events.1.Participants,

    Revision as of 10:26, 28 January 2025

    Strapi Events Raw JSON

    Raw JSON Output

    {{#external_data_debug}}

    Strapi Events Display

    Event Details

     * **Event ID:** Error: no local variable "EventID" has been set.
     * **Created At:** Error: no local variable "CreatedAt" has been set.
     * **Updated At:** Error: no local variable "UpdatedAt" has been set.
     * **Published At:** Error: no local variable "PublishedAt" has been set.
    
     * **Type:** Error: no local variable "EventType" has been set.
     * **Participants:** Error: no local variable "Participants" has been set.
     * **Certificate:** Error: no local variable "Certificate" has been set.
     * **Category:** Error: no local variable "Category" has been set.
     * **Date:** Error: no local variable "EventDate" has been set.
    
     * **Publication:** Error: no local variable "Publication" has been set.
     * **Seminars:** Error: no local variable "Seminars" has been set.
     * **Workshops:** Error: no local variable "Workshops" has been set.
    

    Debug Output

    {{#external_data_debug}}