Skip to content
diagnos-techPublic

About

diagnos.health API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

diagnos

The diagnos REST API lives in diagnos/integration.
A API REST da diagnos vive em diagnos/integration.

Abrir diagnos/integration/api


Note

🇺🇸 This repository is a signpost — no code lives here. The API is a self-hosted REST facade (FastAPI, mutual TLS only) over the diagnos SDK, so both live in the same repository and ship together. 🇧🇷 Este repositório é uma placa de sinalização — nenhum código mora aqui. A API é uma fachada REST que você hospeda (FastAPI, só mTLS) sobre o SDK da diagnos, então os dois vivem no mesmo repositório e saem juntos.

Already know what you want? · Já sabe o que quer?

git clone https://github.com/diagnos/integration && cd integration
docker build -f api/Dockerfile -t diagnos-api .
docker run --rm -p 8443:8443 \
  -e DIAGNOS_API_TOKEN=apikey-… \
  -e DIAGNOS_API_MTLS_CA_FILE=/certs/clients-ca.pem \
  -e DIAGNOS_API_TLS_CERT_FILE=/certs/server.pem \
  -e DIAGNOS_API_TLS_KEY_FILE=/certs/server-key.pem \
  -v "$PWD/certs:/certs:ro" diagnos-api
curl --cert client.pem --key client-key.pem --cacert clients-ca.pem \
  https://localhost:8443/v1/patients

Where to go · Para onde ir

🇺🇸 I want to… · 🇧🇷 Eu quero…
See every route and error code · Ver toda rota e código de erro integration/api
Generate the mTLS certificates · Gerar os certificados mTLS openssl walkthrough · passo a passo
Deploy with Compose or Kubernetes · Subir com Compose ou Kubernetes integration/api/deploy
Report a bug or ask for a feature · Reportar bug ou pedir feature Issues
Report a vulnerability · Reportar vulnerabilidade Security advisories
Use it from Python instead · Usar direto pelo Python integration/sdk

Releases · diagnos.health

About

diagnos.health API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors