Wger Max Repetitions Config API

Upper limit for the repetitions of a set, per iteration.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/max-repetitions-config/ List max reps configuration entries · Max repetitions config list #
Ask an LLM
“What max reps configuration entries are set up for a slot?”
“Can I see the max reps config for a particular iteration?”
Tell an agent
List max reps config entries.
Show max reps configs for slot entry {slot_entry}.
POST /api/v2/max-repetitions-config/ Create a max reps configuration entry · Max repetitions config create #
Ask an LLM
“How do I set a maximum number of repetitions for a slot?”
“Can I replace or add to the max reps value?”
Tell an agent
Create a max reps config for slot {slot_entry} at iteration {iteration} with value {value}.
Set max reps for {slot_entry} on iteration {iteration} to {value} using operation {operation}.
GET /api/v2/max-repetitions-config/{id}/ Get a max reps configuration entry · Max repetitions config retrieve #
Ask an LLM
“What value is configured for a max reps config entry?”
“Can I fetch one max reps config by id?”
Tell an agent
Get max reps config {id}.
Show the max reps configuration entry {id}.
PUT /api/v2/max-repetitions-config/{id}/ Replace a max reps configuration entry · Max repetitions config update #
Ask an LLM
“How do I overwrite a max reps config entry completely?”
“Can I change the value and operation on an existing max reps config?”
Tell an agent
Replace max reps config {id} with slot {slot_entry}, iteration {iteration} and value {value}.
Overwrite max reps config {id} to {value} using operation {operation}.
PATCH /api/v2/max-repetitions-config/{id}/ Change fields on a max reps config · Max repetitions config partial update #
Ask an LLM
“Can I change just the value on a max reps config without resending everything?”
“How do I edit one field of an existing max reps configuration?”
Tell an agent
Set the value of max reps config {id} to {value}.
Change the operation on max reps config {id} to {operation}.
DELETE /api/v2/max-repetitions-config/{id}/ Delete a max reps configuration entry · Max repetitions config destroy #
Ask an LLM
“How do I remove a max reps config entry?”
“Can I delete a max reps configuration by id?”
Tell an agent destructive · confirm first
Delete max reps config {id}.
Remove the max reps configuration entry {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wger:wger-max-repetitions-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

wger-max-repetitions-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: wger Max Repetitions Config API
  version: 2.7.0a2
  description: Self hosted FLOSS workout and fitness tracker.
  license:
    name: AGPL-3.0-or-later
    url: https://www.gnu.org/licenses/agpl-3.0.html
servers:
- url: /
  description: This server
- url: https://wger.de
  description: The "official" upstream wger instance
tags:
- name: max-repetitions-config
  description: Upper limit for the repetitions of a set, per iteration.
paths:
  /api/v2/max-repetitions-config/:
    get:
      operationId: max_repetitions_config_list
      description: API endpoint for max reps config objects
      parameters:
      - in: query
        name: id
        schema:
          type: integer
      - in: query
        name: iteration
        schema:
          type: integer
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: operation
        schema:
          type: string
          enum:
          - +
          - '-'
          - r
        description: '* `+` - Plus

          * `-` - Minus

          * `r` - Replace'
      - name: ordering
        required: false
        in: query
        description: Which field to use when ordering the results.
        schema:
          type: string
      - in: query
        name: repeat
        schema:
          type: boolean
      - in: query
        name: slot_entry
        schema:
          type: integer
      - in: query
        name: step
        schema:
          type: string
          enum:
          - abs
          - na
          - percent
        description: '* `na` - Not Applicable

          * `abs` - Absolute

          * `percent` - Percent'
      - in: query
        name: value
        schema:
          type: number
      tags:
      - max-repetitions-config
      security:
      - cookieAuth: []
      - tokenAuth: []
      - headlessJwtAuth: []
      - oidcAuth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedMaxRepetitionsConfigList'
          description: ''
      summary: Max repetitions config list
      x-summary-source: derived
    post:
      operationId: max_repetitions_config_create
      description: API endpoint for max reps config objects
      tags:
      - max-repetitions-config
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaxRepetitionsConfigRequest'
        required: true
      security:
      - cookieAuth: []
      - tokenAuth: []
      - headlessJwtAuth: []
      - oidcAuth: []
      - jwtAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaxRepetitionsConfig'
          description: ''
      summary: Max repetitions config create
      x-summary-source: derived
  /api/v2/max-repetitions-config/{id}/:
    get:
      operationId: max_repetitions_config_retrieve
      description: API endpoint for max reps config objects
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this max repetitions config.
        required: true
      tags:
      - max-repetitions-config
      security:
      - cookieAuth: []
      - tokenAuth: []
      - headlessJwtAuth: []
      - oidcAuth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaxRepetitionsConfig'
          description: ''
      summary: Max repetitions config retrieve
      x-summary-source: derived
    put:
      operationId: max_repetitions_config_update
      description: API endpoint for max reps config objects
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this max repetitions config.
        required: true
      tags:
      - max-repetitions-config
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaxRepetitionsConfigRequest'
        required: true
      security:
      - cookieAuth: []
      - tokenAuth: []
      - headlessJwtAuth: []
      - oidcAuth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaxRepetitionsConfig'
          description: ''
      summary: Max repetitions config update
      x-summary-source: derived
    patch:
      operationId: max_repetitions_config_partial_update
      description: API endpoint for max reps config objects
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this max repetitions config.
        required: true
      tags:
      - max-repetitions-config
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedMaxRepetitionsConfigRequest'
      security:
      - cookieAuth: []
      - tokenAuth: []
      - headlessJwtAuth: []
      - oidcAuth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaxRepetitionsConfig'
          description: ''
      summary: Max repetitions config partial update
      x-summary-source: derived
    delete:
      operationId: max_repetitions_config_destroy
      description: API endpoint for max reps config objects
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this max repetitions config.
        required: true
      tags:
      - max-repetitions-config
      security:
      - cookieAuth: []
      - tokenAuth: []
      - headlessJwtAuth: []
      - oidcAuth: []
      - jwtAuth: []
      responses:
        '204':
          description: No response body
      summary: Max repetitions config destroy
      x-summary-source: derived
components:
  schemas:
    PaginatedMaxRepetitionsConfigList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?offset=400&limit=100
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?offset=200&limit=100
        results:
          type: array
          items:
            $ref: '#/components/schemas/MaxRepetitionsConfig'
    MaxRepetitionsConfigRequest:
      type: object
      description: Max Repetition Config serializer
      properties:
        slot_entry:
          type: integer
        iteration:
          type: integer
          maximum: 2147483647
          minimum: 0
        value:
          type: string
          format: decimal
          pattern: ^-?\d{0,4}(?:\.\d{0,2})?$
        operation:
          $ref: '#/components/schemas/OperationEnum'
        step:
          $ref: '#/components/schemas/StepEnum'
        repeat:
          type: boolean
        requirements: {}
      required:
      - iteration
      - slot_entry
      - value
    PatchedMaxRepetitionsConfigRequest:
      type: object
      description: Max Repetition Config serializer
      properties:
        slot_entry:
          type: integer
        iteration:
          type: integer
          maximum: 2147483647
          minimum: 0
        value:
          type: string
          format: decimal
          pattern: ^-?\d{0,4}(?:\.\d{0,2})?$
        operation:
          $ref: '#/components/schemas/OperationEnum'
        step:
          $ref: '#/components/schemas/StepEnum'
        repeat:
          type: boolean
        requirements: {}
    OperationEnum:
      enum:
      - +
      - '-'
      - r
      type: string
      description: '* `+` - Plus

        * `-` - Minus

        * `r` - Replace'
    StepEnum:
      enum:
      - na
      - abs
      - percent
      type: string
      description: '* `na` - Not Applicable

        * `abs` - Absolute

        * `percent` - Percent'
    MaxRepetitionsConfig:
      type: object
      description: Max Repetition Config serializer
      properties:
        id:
          type: integer
          readOnly: true
        slot_entry:
          type: integer
        iteration:
          type: integer
          maximum: 2147483647
          minimum: 0
        value:
          type: string
          format: decimal
          pattern: ^-?\d{0,4}(?:\.\d{0,2})?$
        operation:
          $ref: '#/components/schemas/OperationEnum'
        step:
          $ref: '#/components/schemas/StepEnum'
        repeat:
          type: boolean
        requirements: {}
      required:
      - id
      - iteration
      - slot_entry
      - value
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid
    headlessJwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Access token issued by the allauth headless endpoints
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    oidcAuth:
      type: oauth2
      description: Access token issued by the OAuth2/OIDC provider
      flows:
        authorizationCode:
          authorizationUrl: https://wger.de/identity/o/authorize
          tokenUrl: https://wger.de/identity/o/api/token
          scopes:
            api:read: View your training, nutrition and body data
            api:write: Add and change your training, nutrition and body data
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
externalDocs:
  url: https://wger.readthedocs.io
  description: wger documentation
x-provenance:
  method: harvested
  publisher: Wger
  source: https://wger.de/api/v2/schema
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)