API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · datasources

Datasource Schema

Schema ID
datasource
Collection
datasources
Permissions
  • Readdatasource_view
  • Createdatasource_create
  • Editdatasource_edit
  • Deletedatasource_delete

Fields

Datasource Schema

datasources4 permissions

Schema for validating datasource entities (license contract data sources)

partyIdstringrequired

Codemeta Party ID this datasource belongs to

min 1 characters
itemsobject[]required
Default: []
articleNumberstringrequired
namestringrequired
descriptionstringoptional
nullable
quantitynumberrequired
companyNamestringoptional
nullable
isOverflowbooleanoptional
nullable
billedInContractsobject[]optional
Default: []
contractIdstringrequired
quantitynumberrequired
originSourceIdentifiersstring[]optional
Default: []nullable
summaryobjectoptional
nullable
totalnumberoptional
≥ 0
usednumberoptional
≥ 0
percentagenumberoptional
≥ 0

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/datasources — List, paginated + filterable
  • GET /api/v1/datasources/<id> — Single entity
  • POST /api/v1/datasources — Create
  • PATCH /api/v1/datasources/<id> — Partial update
  • DELETE /api/v1/datasources/<id> — Soft delete
  • GET /api/v1/datasources/<id>/timeline — Audit + activities

Search