API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · datasources

Datasource Schema

Schema-ID
datasource
Collection
datasources
Permissions
  • Lesendatasource_view
  • Anlegendatasource_create
  • Änderndatasource_edit
  • Löschendatasource_delete

Felder

Datasource Schema

datasources4 Permissions

Schema for validating datasource entities (license contract data sources)

partyIdstringerforderlich

Codemeta Party ID this datasource belongs to

min 1 Zeichen
itemsobject[]erforderlich
Default: []
articleNumberstringerforderlich
namestringerforderlich
descriptionstringoptional
nullable
quantitynumbererforderlich
companyNamestringoptional
nullable
isOverflowbooleanoptional
nullable
billedInContractsobject[]optional
Default: []
contractIdstringerforderlich
quantitynumbererforderlich
originSourceIdentifiersstring[]optional
Default: []nullable
summaryobjectoptional
nullable
totalnumberoptional
≥ 0
usednumberoptional
≥ 0
percentagenumberoptional
≥ 0

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/datasources — Liste, paginiert + filterbar
  • GET /api/v1/datasources/<id> — Einzelne Entity
  • POST /api/v1/datasources — Anlegen
  • PATCH /api/v1/datasources/<id> — Teil-Update
  • DELETE /api/v1/datasources/<id> — Soft-Delete
  • GET /api/v1/datasources/<id>/timeline — Audit + Aktivitäten

Suche