WeFitter token API
Before any calls can be made to wefitter, BasicAuth is needed to verify the identity of the requesting party.This call will result into a Bearer token which has administrator privileges and is valid for 1 day.This token can be used to create profiles, challenges, etc.The returned bearer is a JWT (JSON Web Token).
WeFitter token API is one of 9 APIs that WeFitter publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include token. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.
This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 2.0, at version v1.3.
Requests are made against the base URL https://api.wefitter.com/api/v1.3.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 3
WeFitter token API declares
3 security schemes
for authenticating requests.
It defines a basic scheme (Basic).
An API key is passed in the header as Authorization (BearerProfile).
An API key is passed in the header as Authorization (BearerAdmin).
By default, every request must be authenticated.
Basic— Basic Authentication is used to create administrator bearer tokens. Once a bearer token has been made, remove this auth. ('logout' in Swagger')BearerProfile— Bearer authentication for logged-in profiles. When using the GUI, please don't forget to prefix your bearer tokens with the text 'bearer', followed by a space.BearerAdmin— Bearer authentication for administrators. When using the GUI, please don't forget to prefix your bearer tokens with the text 'bearer', followed by a space.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
Before any calls can be made to wefitter, BasicAuth is needed to verify the identity of the requesting party. This call will result into a Bearer token which has administrator pri…
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Token (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from WeFitter 8
Other APIs WeFitter publishes across the network.