DataSrc:DemoJan25/StrapiEvents: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 2: Line 2:


    <!-- 1) Fetch the data with #get_web_data -->
    <!-- 1) Fetch the data with #get_web_data -->
    {{#get_web_data:
    {{#get_soap_data:
       |url    = https://unitapedia.univ-unita.eu/strapi/api/events?access_token=b62a3afadf4802e2f157064572d5233d1da82e18bb695e80b4c1ee62025d79a297c2af2ce9f96fc1ea4cca6ed3b8ea1e38c4659418ada40241beb30b10aa13a01f613c1fd3a40e5c98ba3d76dd960ac9c36fa76b6d03fb516672a65f998f7d32bfdc1ba8cc31e9011267fd084a35dd2ea33a8af8121e3e4a1cc4f976c43f062e
       |url    = https://unitapedia.univ-unita.eu/strapi/api/events
       |format  = json
       |format  = json
       |debug  = 1
       |debug  = 1
      |requestData=Authorization=Bearer b62a3afadf4802e2f157064572d5233d1da82e18bb695e80b4c1ee62025d79a297c2af2ce9f96fc1ea4cca6ed3b8ea1e38c4659418ada40241beb30b10aa13a01f613c1fd3a40e5c98ba3d76dd960ac9c36fa76b6d03fb516672a65f998f7d32bfdc1ba8cc31e9011267fd084a35dd2ea33a8af8121e3e4a1cc4f976c43f062e
    }}
    }}


    Line 15: Line 17:


    <!-- 1) Fetch the data with #get_web_data -->
    <!-- 1) Fetch the data with #get_web_data -->
    {{#get_web_data:
    {{#get_soap_data:
       |url    = https://unitapedia.univ-unita.eu/strapi/api/events?populate=events,SupplementaryInfo
       |url    = https://unitapedia.univ-unita.eu/strapi/api/events?populate=events,SupplementaryInfo
       |format  = json
       |format  = json

    Revision as of 09:21, 28 January 2025

    Strapi Events Raw JSON

    The library SOAP, required to use the '#get_soap_data' parser function or mw.ext.getExternalData.getSoapData Lua function, is missing.
    Error: No "request" parameter specified.
    Error: No "response" parameter specified.

    Raw JSON Output

    {{#external_data_debug}}

    Strapi Events Display

    The library SOAP, required to use the '#get_soap_data' parser function or mw.ext.getExternalData.getSoapData Lua function, is missing.
    Error: No "request" parameter specified.
    Error: No "response" parameter specified.

    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}}