L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Données et recherche · SKILL.md

jarbas-data-api

jarbas-data-api

Use Jarbas's Django REST API for reimbursements, companies, receipts, same-day reimbursements, applicants, and subquotas.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: jarbas-data-api description: "Use Jarbas's Django REST API for reimbursements, companies, receipts, same-day reimbursements, applicants, and subquotas." disable-model-invocation: true metadata: disco-role: operating license: MIT

Jarbas Data API

Use this sub-skill when you need to consume, explain, test, or debug Jarbas as the Django/DRF data browsing API for Serenata de Amor reimbursement data.

Start here

Fast routing

  • Build or inspect an API URL: use scripts/jarbas_api_probe.py build-reimbursement or the endpoint tables in api-reference.md.
  • Explain missing or extra reimbursement rows: check tuple filtering, boolean parsing, CNPJ/CPF cleaning, receipt_url versus has_receipt, in_latest_dataset, and PostgreSQL search notes in the references.
  • Debug serializer output: use model-and-queryset-reference.md for decimal-to-float conversion, the receipt object, all_numbers, rosies_tweet, applicant/subquota distinct lists, and company activity nesting.
  • Debug receipt behavior: use the receipt sections in both references and the troubleshooting guide; receipt detail may perform a network HEAD fetch unless the URL is already known or a non-forced miss was already fetched.
  • Need to load sample data, configure Docker/PostgreSQL, run migrations, or set environment variables: route to the sibling deployment-and-data-ops sub-skill. This sub-skill only states the API-side prerequisites.
  • Need to generate Rosie suspicion/probability data: route to rosie-suspicion-pipeline.
  • Need dashboard/static asset deployment: route to deployment-and-data-ops.

API-side data prerequisites

The API is read-only for anonymous users and useful only after Jarbas has reimbursement rows, optional company rows, optional suspicion/probability values, optional receipt text/URLs, and a PostgreSQL search vector populated for text search. If endpoints return valid paginated envelopes with count: 0, treat the API as reachable but unseeded or over-filtered; data loading is owned by deployment-and-data-ops.

Verification anchors

Native behaviors represented by this sub-skill include serializer CNPJ/CPF cleaning, reimbursement list/detail/receipt view behavior, applicant and subquota distinct-list views, same-day reimbursement city enrichment, company detail responses, manage.py check as an API import preflight, and PostgreSQL-backed search-vector cases when that service is available.

Skills enregistrées