Data sources
Data sources are the bridge between a hosted app and Methacore. You use them in bindings, in the call action and in handlers via data.load(…). Behind every source is an endpoint of the developer API under apps.api.methacore.de/v1.
This page is generated from the runtime's SOURCE_CATALOG – the same fields and sample data the builder shows on its canvas.
Overview
| Source | In the builder | Scope | Kind | pick | State key |
|---|---|---|---|---|---|
me.profile | My profile | mc.me.profile:read | Object | – | profil |
me.groups | My groups | mc.me.groups:read | List | items | gruppen |
me.events | My events | mc.me.events:read | List | items | termine |
me.trainingplans | My training plans | mc.me.trainingplans:read | List | items | trainingsplaene |
me.competitions | My competition results | mc.me.competitions:read | List | items | turniere |
me.membercard | My membership card | mc.me.membercard:read | Object | card | ausweis |
storage.list | App storage (list) | mc.apps.storage:read | List | items | eintraege |
storage.get | App storage (entry) | mc.apps.storage:read | Object | – | eintrag |
storage.put | App storage: save entry | mc.apps.storage:write | – | – | gespeichert |
storage.delete | App storage: delete entry | mc.apps.storage:write | – | – | geloescht |
request | Other Methacore API | depends on the API | – | – | antwort |
Kind tells you what the source returns: a single object or a list of rows. For lists, pick holds the path where the rows are – the builder fills it in when you add the source, so the list lands directly in the state.
Timestamps: the API returns start and end of events, timestamp of results and updatedAt in storage as Unix timestamps in seconds. The builder's sample data shows them as ISO text for readability. Via the data source, me.events always returns the next 90 days; to query a different period, use the API.
All data belongs to the member
The me.* sources return only data of the signed-in member in the club for which they gave the app consent. An app sees no one except the person currently using it. For club data (member list, accounting, …) there is the request source – with the scopes of the respective Methacore API.
When a scope is missing
If a source responds with 403 and the message This token does not carry the <scope> scope., the runtime asks the host once for a token with that scope. The host shows the member "Extend access" with the missing permission. If they agree, the runtime retries the call once; otherwise the action fails. So put every scope your app needs into auth.scopes right away – then it asks once on first open and never again.
Sources in detail
me.profile – My profile
Scope mc.me.profile:read · Endpoint GET /me/profile.
No parameters.
Fields:
| Field | In the builder | Type | Meaning |
|---|---|---|---|
id | ID | id | Identifier of the member |
firstName | First name | text | First name of the signed-in member |
lastName | Last name | text | Last name of the signed-in member |
email | Email address of the account | ||
birthday | Birthday | date | Date of birth, if on file |
image | Profile picture | url | URL of the profile picture, empty if there is none |
{
"id": "665f1c2a9b1e4a0012ab34cd",
"firstName": "Anna",
"lastName": "Schneider",
"email": "[email protected]",
"birthday": "1988-04-12",
"image": "https://images.methacore.de/beispiel/anna.jpg"
}
me.groups – My groups
Scope mc.me.groups:read · Endpoint GET /me/groups.
No parameters.
Fields (per row under items):
| Field | In the builder | Type | Meaning |
|---|---|---|---|
id | ID | id | Identifier of the group |
name | Name | text | Name of the group |
role | Role | text | "member" as a member, "trainer" as trainer of the group |
{
"items": [
{
"id": "g1",
"name": "Voltigieren Kinder",
"role": "member"
},
{
"id": "g2",
"name": "Dressur Fortgeschrittene",
"role": "trainer"
},
{
"id": "g3",
"name": "Vorstand",
"role": "member"
}
]
}
me.events – My events
Scope mc.me.events:read · Endpoint GET /me/events.
No parameters.
Fields (per row under items):
| Field | In the builder | Type | Meaning |
|---|---|---|---|
id | ID | id | Identifier of the event |
title | Title | text | Name of the event |
start | Start | datetime | Start as a point in time |
end | End | datetime | End as a point in time |
location | Location | text | Location of the event, empty if not specified |
{
"items": [
{
"id": "e1",
"title": "Training Voltigieren",
"start": "2026-10-02T17:00:00+02:00",
"end": "2026-10-02T18:30:00+02:00",
"location": "Reithalle"
},
{
"id": "e2",
"title": "Mitgliederversammlung",
"start": "2026-10-15T19:00:00+02:00",
"end": "2026-10-15T21:00:00+02:00",
"location": "Vereinsheim"
},
{
"id": "e3",
"title": "Herbstturnier",
"start": "2026-10-24T09:00:00+02:00",
"end": "2026-10-24T17:00:00+02:00",
"location": "Außenplatz"
}
]
}
me.trainingplans – My training plans
Scope mc.me.trainingplans:read · Endpoint GET /me/trainingplans.
No parameters.
Fields (per row under items):
| Field | In the builder | Type | Meaning |
|---|---|---|---|
id | ID | id | Identifier of the training plan |
name | Name | text | Name of the training plan |
category | Category | text | Category of the plan, if assigned |
description | Description | text | Description of the plan |
exerciseCount | Number of exercises | number | How many exercises the plan contains |
group | Group | text | Group the plan is assigned to |
{
"items": [
{
"id": "t1",
"name": "Grundlagen Pflicht",
"category": "Voltigieren",
"description": "Pflichtübungen für Einsteiger",
"exerciseCount": 7,
"group": "Voltigieren Kinder"
},
{
"id": "t2",
"name": "Ausdauer Herbst",
"category": "Kondition",
"description": "Laufen und Kraft im Wechsel",
"exerciseCount": 5,
"group": "Dressur Fortgeschrittene"
}
]
}
me.competitions – My competition results
Scope mc.me.competitions:read · Endpoint GET /me/competitions.
No parameters.
Fields (per row under items):
| Field | In the builder | Type | Meaning |
|---|---|---|---|
id | ID | id | Identifier of the result |
competitionId | Competition ID | id | Identifier of the competition |
competition | Competition | text | Name of the competition |
disciplineId | Discipline ID | id | Identifier of the discipline |
place | Place | number | Placing achieved |
score | Score | number | Points achieved |
timestamp | Timestamp | datetime | When the result was entered |
{
"items": [
{
"id": "r1",
"competitionId": "c1",
"competition": "Frühjahrsturnier Weeze",
"disciplineId": "d1",
"place": 2,
"score": 7.4,
"timestamp": "2026-04-18T14:20:00+02:00"
},
{
"id": "r2",
"competitionId": "c2",
"competition": "Kreismeisterschaft",
"disciplineId": "d4",
"place": 1,
"score": 8.1,
"timestamp": "2026-06-07T11:05:00+02:00"
}
]
}
me.membercard – My membership card
Scope mc.me.membercard:read · Endpoint GET /me/membercard.
No parameters.
Fields (per row under card):
| Field | In the builder | Type | Meaning |
|---|---|---|---|
serial | Serial number | text | Number of the card |
status | Status | text | State of the card, e.g. "valid" |
valid | Valid | boolean | Whether the card is currently valid |
name | Name | text | Name on the card |
memberNumber | Member number | text | Member number in the club |
departments | Departments | list | Departments shown on the card |
validUntil | Valid until | date | Expiry date of the card |
{
"card": {
"serial": "MC-2026-0042",
"status": "valid",
"valid": true,
"name": "Anna Schneider",
"memberNumber": "1042",
"departments": [
"Voltigieren",
"Dressur"
],
"validUntil": "2026-12-31"
}
}
storage.list – App storage (list)
Scope mc.apps.storage:read · Endpoint GET /storage/{collection}.
| Parameter | Required | Meaning |
|---|---|---|
collection | yes | Name of the collection, 1–64 characters A–Z a–z 0–9 _ - |
scope | no | org (shared in the club, default) or user (the member only) |
limit | no | Entries per page, 1–200, default 50 |
offset | no | How many entries to skip, default 0 |
Fields (per row under items):
| Field | In the builder | Type | Meaning |
|---|---|---|---|
key | Key | text | Key of the entry |
value | Value | text | Stored value, text or JSON |
updatedAt | Changed at | datetime | Time of the last change |
{
"items": [
{
"key": "notiz-1",
"value": "Sattel zur Reparatur bringen",
"updatedAt": "2026-09-20T10:15:00+02:00"
},
{
"key": "notiz-2",
"value": "Hallenplan für Oktober aushängen",
"updatedAt": "2026-09-22T08:40:00+02:00"
}
],
"total": 2
}
storage.get – App storage (entry)
Scope mc.apps.storage:read · Endpoint GET /storage/{collection}/{key}.
| Parameter | Required | Meaning |
|---|---|---|
collection | yes | Name of the collection, 1–64 characters A–Z a–z 0–9 _ - |
key | yes | Key of the entry, same rules as the collection |
scope | no | org (shared in the club, default) or user (the member only) |
Fields:
| Field | In the builder | Type | Meaning |
|---|---|---|---|
key | Key | text | Key of the entry |
value | Value | text | Stored value, text or JSON |
updatedAt | Changed at | datetime | Time of the last change |
{
"key": "notiz-1",
"value": "Sattel zur Reparatur bringen",
"updatedAt": "2026-09-20T10:15:00+02:00"
}
storage.put – App storage: save entry
Scope mc.apps.storage:write · Endpoint PUT /storage/{collection}/{key}.
| Parameter | Required | Meaning |
|---|---|---|
collection | yes | Name of the collection, 1–64 characters A–Z a–z 0–9 _ - |
key | yes | Key of the entry, same rules as the collection |
value | yes | Value to store, any JSON |
scope | no | org (shared in the club, default) or user (the member only) |
Response: the stored entry { key, value, updatedAt }.
storage.delete – App storage: delete entry
Scope mc.apps.storage:write · Endpoint DELETE /storage/{collection}/{key}.
| Parameter | Required | Meaning |
|---|---|---|
collection | yes | Name of the collection, 1–64 characters A–Z a–z 0–9 _ - |
key | yes | Key of the entry, same rules as the collection |
scope | no | org (shared in the club, default) or user (the member only) |
Response: nothing. Unknown keys fail with 404.
request – other Methacore APIs
request calls any endpoint of a Methacore API on behalf of the member. This is how apps for the board get at club data:
{ "source": "request", "to": "mitglieder", "pick": "data",
"params": { "section": "members", "path": "/members", "query": { "limit": 200 } } }
Requirements:
- The API is enabled in your project in the Artim Developer Portal and linked to the same organisation as "Methacore Apps".
- The app's OAuth client has selected it alongside "Methacore Apps" (OAuth → Clients → Change APIs) and therefore carries its scope, e.g.
mc.members:read. - The scope is listed in
auth.scopesofapp.json. - The member has the matching right in the club's dashboard, such as Read users for
mc.members:reador Read groups formc.members.departments:read. Without it, the token does not get the scope and the source responds with403. A token can never do more than its owner. - Trainers get the group scopes (
mc.members.departments:read,mc.members.attendance:read,mc.events.groupMeetings:read,mc.training.groupPlans:read) even without this right, but only see their own groups with them.
The available sections, paths and scopes are listed in the reference under Methacore. The app's security policy only allows connections to *.api.methacore.de and to the Artim Developer Portal – a hosted app cannot reach any other address.
Sample data in the builder
While you work in the builder, the canvas shows the sample responses above instead of real data. In the Data explorer you click fields instead of typing {{…}}: clicking title in My events sets {{item.title}} or the matching column. Real data only appears in the preview and in the published app.