B.R.M Chronographes Site Publication API

The site-publication API from B.R.M Chronographes — 5 operation(s) for site-publication.

Operations 5

GET /api/site/publication/etat Etat #
GET /api/site/publication/journal Journal #
GET /api/site/publication/{publication_id} Detail #
POST /api/site/publication/lancer Lancer #
POST /api/site/publication/retour-arriere Retour Arriere #

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/brm-chronographes-com:brm-chronographes-com-site-publication-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

brm-chronographes-com-site-publication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BRM Hub Site Publication API
  version: 1.0.0
tags:
- name: site-publication
paths:
  /api/site/publication/etat:
    get:
      tags:
      - site-publication
      summary: Etat
      description: 'Tout ce dont l''écran a besoin pour s''afficher et pour se rafraîchir.


        Appelé en boucle pendant qu''une publication tourne : il reste volontairement

        léger (les sorties d''outils ne sont pas relues ici, sauf pour la publication

        en cours — c''est justement ce qu''on veut voir défiler).'
      operationId: etat_api_site_publication_etat_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/site/publication/journal:
    get:
      tags:
      - site-publication
      summary: Journal
      description: 'Les publications passées : qui, quand, quoi, combien de temps, issue.'
      operationId: journal_api_site_publication_journal_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limite
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 30
          title: Limite
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/site/publication/{publication_id}:
    get:
      tags:
      - site-publication
      summary: Detail
      description: Une publication et la sortie complète de chacune de ses étapes.
      operationId: detail_api_site_publication__publication_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: publication_id
        in: path
        required: true
        schema:
          type: integer
          title: Publication Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/site/publication/lancer:
    post:
      tags:
      - site-publication
      summary: Lancer
      description: 'Ouvre une publication et répond immédiatement (202).


        La chaîne dure plusieurs minutes : elle part dans un fil de fond, l''écran

        suit par `/etat`. Un refus (verrou tenu, environnement incomplet) est un

        409 explicite — jamais une publication à moitié partie.'
      operationId: lancer_api_site_publication_lancer_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__routers__site_publication__DemandePublication'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/site/publication/retour-arriere:
    post:
      tags:
      - site-publication
      summary: Retour Arriere
      description: 'Rebranche une construction précédente — immédiat et atomique.


        Le nom reçu est confronté à une expression régulière puis à ce qui existe

        vraiment sur le disque, et la construction visée doit passer les mêmes

        contrôles d''intégrité que `deployer.sh` avant d''être remise en ligne.'
      operationId: retour_arriere_api_site_publication_retour_arriere_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemandeRetour'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    app__routers__site_publication__DemandePublication:
      properties:
        mode:
          type: string
          pattern: ^(essai|complete)$
          title: Mode
          default: complete
        etapes:
          items:
            type: string
          type: array
          maxItems: 20
          title: Etapes
        commentaire:
          type: string
          maxLength: 2000
          title: Commentaire
          default: ''
      type: object
      title: DemandePublication
      description: 'Ce que l''écran envoie. Rien de tout cela n''atteint une commande shell :

        `mode` choisit entre deux argv constants, `etapes` sert uniquement à tester

        l''appartenance à un catalogue figé, `commentaire` ne va qu''en base.'
    DemandeRetour:
      properties:
        dossier:
          type: string
          maxLength: 64
          minLength: 3
          title: Dossier
      type: object
      required:
      - dossier
      title: DemandeRetour
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer