JustGains Locale API

The Locale API from JustGains — 3 operation(s) for locale.

GitHub OpenAPI

Operations 4

GET /api/locales Get api locales #
POST /api/locales Create api locales #
GET /api/locales/{localCode} Get api locales by local code #
PUT /api/locales/{localeCode} Replace api locales by locale code #

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/justgains-com:justgains-com-locale-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

justgains-com-locale-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JustGains Locale API
  version: '1.0'
security:
- Bearer: []
tags:
- name: Locale
paths:
  /api/locales:
    get:
      tags:
      - Locale
      parameters:
      - name: showAll
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
      summary: Get api locales
      x-summary-source: derived
      operationId: getApiLocales
      x-operation-id-source: derived
    post:
      tags:
      - Locale
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
          application/json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
          text/json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Locale'
            application/json:
              schema:
                $ref: '#/components/schemas/Locale'
            text/json:
              schema:
                $ref: '#/components/schemas/Locale'
      summary: Create api locales
      x-summary-source: derived
      operationId: postApiLocales
      x-operation-id-source: derived
  /api/locales/{localCode}:
    get:
      tags:
      - Locale
      parameters:
      - name: localCode
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api locales by local code
      x-summary-source: derived
      operationId: getApiLocalesByLocalCode
      x-operation-id-source: derived
  /api/locales/{localeCode}:
    put:
      tags:
      - Locale
      parameters:
      - name: localeCode
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
          application/json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
          text/json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/LocaleDto'
      responses:
        '200':
          description: OK
      summary: Replace api locales by locale code
      x-summary-source: derived
      operationId: putApiLocalesByLocaleCode
      x-operation-id-source: derived
components:
  schemas:
    LocaleDto:
      required:
      - LocaleCode
      type: object
      properties:
        LocaleCode:
          type:
          - string
          - 'null'
        LocaleName:
          type:
          - string
          - 'null'
        Published:
          type: boolean
        LocaleIcon:
          $ref: '#/components/schemas/MediaAssetIdRequest'
      additionalProperties: false
    Locale:
      required:
      - LocaleCode
      type: object
      properties:
        LocaleCode:
          maxLength: 255
          type:
          - string
          - 'null'
        LocaleName:
          maxLength: 255
          type:
          - string
          - 'null'
        Published:
          type: boolean
        LocaleIcon:
          type:
          - string
          - 'null'
          format: uuid
        MediaAsset:
          $ref: '#/components/schemas/MediaAsset'
      additionalProperties: false
    MediaAsset:
      required:
      - FileName
      - FilePath
      type: object
      properties:
        CreatedAt:
          type:
          - string
          - 'null'
          format: date-time
        CreatedBy:
          type:
          - string
          - 'null'
          format: uuid
        UpdatedAt:
          type:
          - string
          - 'null'
          format: date-time
        UpdatedBy:
          type:
          - string
          - 'null'
          format: uuid
        DeletedAt:
          type:
          - string
          - 'null'
          format: date-time
        DeletedBy:
          type:
          - string
          - 'null'
          format: uuid
        MediaId:
          type: string
          format: uuid
        MediaType:
          maxLength: 255
          type:
          - string
          - 'null'
        FileName:
          maxLength: 255
          minLength: 1
          type: string
        FilePath:
          maxLength: 255
          minLength: 1
          type: string
        FileSize:
          maxLength: 255
          type:
          - string
          - 'null'
        FileFormat:
          maxLength: 255
          type:
          - string
          - 'null'
        Description:
          maxLength: 255
          type:
          - string
          - 'null'
      additionalProperties: false
    MediaAssetIdRequest:
      type: object
      properties:
        MediaId:
          type: string
          format: uuid
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: http
      description: Put **_ONLY_** your JWT Bearer token on the textbox below!
      scheme: Bearer
      bearerFormat: JWT