Fiber strand assignment reference
Fiber strand assignment endpoint authentication, parameters, request and response contracts.
Last updated:
On this page
GET /api/p/{pid}/tahsisPOST /api/p/{pid}/tahsisGET /api/p/{pid}/tahsis/kablo/{cid}POST /api/p/{pid}/tahsis/onizlemePaths, 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
| Name | Location | Type | Required |
|---|---|---|---|
pid | path | integer | Yes |
kapali | query | integer | No |
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
| Field | Type | Required | Description |
|---|---|---|---|
detail | ValidationError[] | 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
| Name | Location | Type | Required |
|---|---|---|---|
pid | path | integer | Yes |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
ops | Op[] | Yes | |
note | string | null | No | |
request_id | string | Yes | |
ozet | string | Yes |
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
| Field | Type | Required | Description |
|---|---|---|---|
detail | ValidationError[] | 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
| Name | Location | Type | Required |
|---|---|---|---|
pid | path | integer | Yes |
cid | path | string | Yes |
kapali | query | integer | No |
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
| Field | Type | Required | Description |
|---|---|---|---|
detail | ValidationError[] | 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
| Name | Location | Type | Required |
|---|---|---|---|
pid | path | integer | Yes |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
ops | Op[] | Yes | |
note | string | null | No |
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
| Field | Type | Required | Description |
|---|---|---|---|
detail | ValidationError[] | No |
For error meanings and client actions, see the error code glossary.