DataSrc:DemoJan25/StrapiEvents: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#get_web_data: | {{#get_web_data: | ||
|url = https://unitapedia.univ-unita.eu/strapi/api/events | |url = https://unitapedia.univ-unita.eu/strapi/api/events | ||
|format = JSON | |format = JSON | ||
|headers = Authorization: Bearer YOUR_TOKEN | |||
|headers = Authorization: Bearer | |||
|data = eventId = data.*.id, | |data = eventId = data.*.id, | ||
eventCreated = data.*.attributes.createdAt, | eventCreated = data.*.attributes.createdAt, | ||
eventUpdated = data.*.attributes.updatedAt, | eventUpdated = data.*.attributes.updatedAt, | ||
eventPublished = data.*.attributes.publishedAt | eventPublished = data.*.attributes.publishedAt | ||
|debug = 1 | |debug = 1 | ||
}} | }} |