Fiber strand assignment reference

Fiber strand assignment endpoint authentication, parameters, request and response contracts.

Last updated:

On this pageGET /api/p/{pid}/tahsisPOST /api/p/{pid}/tahsisGET /api/p/{pid}/tahsis/kablo/{cid}POST /api/p/{pid}/tahsis/onizleme

Paths, methods, parameters and available schemas are generated from the OpenAPI document in the repository.

Note: These endpoints form the browser application contract and do not provide the same versioning assurance as v1. Use the versioned API for external integrations.

GET /api/p/{pid}/tahsis

Get fiber allocation

Allocation report: policy, fiber counts by class, templates, conflicts, and components with violations or that could not be assessed. Read-only.

Authentication: User session (cookie). Scope: Relevant organisation/project membership and operation permission; writes also check the current role, module and licence permissions.

Parameters

NameLocationTypeRequired
pidpathintegerYes
kapaliqueryintegerNo

Responses

HTTP 200

application/json

This OpenAPI document does not define a body schema. See the relevant developer guide for details.

HTTP 422

application/json

FieldTypeRequiredDescription
detailValidationError[]No

For error meanings and client actions, see the error code glossary.

POST /api/p/{pid}/tahsis

Commit allocation

Confirms rule operations. The summary recalculated under the lock must match the one displayed; otherwise returns 409 and a new preview without writing. Request IDs follow the F2b convention: retrying the same content after a lost response returns the original result.

Authentication: User session (cookie). Scope: Relevant organisation/project membership and operation permission; writes also check the current role, module and licence permissions.

Parameters

NameLocationTypeRequired
pidpathintegerYes

Request body

application/json

FieldTypeRequiredDescription
opsOp[]Yes
notestring | nullNo
request_idstringYes
ozetstringYes

Responses

HTTP 200

application/json

This OpenAPI document does not define a body schema. See the relevant developer guide for details.

HTTP 422

application/json

FieldTypeRequiredDescription
detailValidationError[]No

For error meanings and client actions, see the error code glossary.

GET /api/p/{pid}/tahsis/kablo/{cid}

Get cable allocation

Authentication: User session (cookie). Scope: Relevant organisation/project membership and operation permission; writes also check the current role, module and licence permissions.

Parameters

NameLocationTypeRequired
pidpathintegerYes
cidpathstringYes
kapaliqueryintegerNo

Responses

HTTP 200

application/json

This OpenAPI document does not define a body schema. See the relevant developer guide for details.

HTTP 422

application/json

FieldTypeRequiredDescription
detailValidationError[]No

For error meanings and client actions, see the error code glossary.

POST /api/p/{pid}/tahsis/onizleme

Preview allocation

Effect of rule operations on current allocation: changed fibers, counts, conflicts, components requiring rechecking and validation results. Writes no data.

Authentication: User session (cookie). Scope: Relevant organisation/project membership and operation permission; writes also check the current role, module and licence permissions.

Parameters

NameLocationTypeRequired
pidpathintegerYes

Request body

application/json

FieldTypeRequiredDescription
opsOp[]Yes
notestring | nullNo

Responses

HTTP 200

application/json

This OpenAPI document does not define a body schema. See the relevant developer guide for details.

HTTP 422

application/json

FieldTypeRequiredDescription
detailValidationError[]No

For error meanings and client actions, see the error code glossary.