DocumentationMethacore Apps

Data sources

8 min read · last updated 23 September 2026

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

SourceIn the builderScopeKindpickState key
me.profileMy profilemc.me.profile:readObject–profil
me.groupsMy groupsmc.me.groups:readListitemsgruppen
me.eventsMy eventsmc.me.events:readListitemstermine
me.trainingplansMy training plansmc.me.trainingplans:readListitemstrainingsplaene
me.competitionsMy competition resultsmc.me.competitions:readListitemsturniere
me.membercardMy membership cardmc.me.membercard:readObjectcardausweis
storage.listApp storage (list)mc.apps.storage:readListitemseintraege
storage.getApp storage (entry)mc.apps.storage:readObject–eintrag
storage.putApp storage: save entrymc.apps.storage:write––gespeichert
storage.deleteApp storage: delete entrymc.apps.storage:write––geloescht
requestOther Methacore APIdepends 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:

FieldIn the builderTypeMeaning
idIDidIdentifier of the member
firstNameFirst nametextFirst name of the signed-in member
lastNameLast nametextLast name of the signed-in member
emailEmailemailEmail address of the account
birthdayBirthdaydateDate of birth, if on file
imageProfile pictureurlURL 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):

FieldIn the builderTypeMeaning
idIDidIdentifier of the group
nameNametextName of the group
roleRoletext"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):

FieldIn the builderTypeMeaning
idIDidIdentifier of the event
titleTitletextName of the event
startStartdatetimeStart as a point in time
endEnddatetimeEnd as a point in time
locationLocationtextLocation 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):

FieldIn the builderTypeMeaning
idIDidIdentifier of the training plan
nameNametextName of the training plan
categoryCategorytextCategory of the plan, if assigned
descriptionDescriptiontextDescription of the plan
exerciseCountNumber of exercisesnumberHow many exercises the plan contains
groupGrouptextGroup 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):

FieldIn the builderTypeMeaning
idIDidIdentifier of the result
competitionIdCompetition IDidIdentifier of the competition
competitionCompetitiontextName of the competition
disciplineIdDiscipline IDidIdentifier of the discipline
placePlacenumberPlacing achieved
scoreScorenumberPoints achieved
timestampTimestampdatetimeWhen 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):

FieldIn the builderTypeMeaning
serialSerial numbertextNumber of the card
statusStatustextState of the card, e.g. "valid"
validValidbooleanWhether the card is currently valid
nameNametextName on the card
memberNumberMember numbertextMember number in the club
departmentsDepartmentslistDepartments shown on the card
validUntilValid untildateExpiry 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}.

ParameterRequiredMeaning
collectionyesName of the collection, 1–64 characters A–Z a–z 0–9 _ -
scopenoorg (shared in the club, default) or user (the member only)
limitnoEntries per page, 1–200, default 50
offsetnoHow many entries to skip, default 0

Fields (per row under items):

FieldIn the builderTypeMeaning
keyKeytextKey of the entry
valueValuetextStored value, text or JSON
updatedAtChanged atdatetimeTime 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}.

ParameterRequiredMeaning
collectionyesName of the collection, 1–64 characters A–Z a–z 0–9 _ -
keyyesKey of the entry, same rules as the collection
scopenoorg (shared in the club, default) or user (the member only)

Fields:

FieldIn the builderTypeMeaning
keyKeytextKey of the entry
valueValuetextStored value, text or JSON
updatedAtChanged atdatetimeTime 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}.

ParameterRequiredMeaning
collectionyesName of the collection, 1–64 characters A–Z a–z 0–9 _ -
keyyesKey of the entry, same rules as the collection
valueyesValue to store, any JSON
scopenoorg (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}.

ParameterRequiredMeaning
collectionyesName of the collection, 1–64 characters A–Z a–z 0–9 _ -
keyyesKey of the entry, same rules as the collection
scopenoorg (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.scopes of app.json.
  • The member has the matching right in the club's dashboard, such as Read users for mc.members:read or Read groups for mc.members.departments:read. Without it, the token does not get the scope and the source responds with 403. 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.