EN Product and technical documentation are preserved in the packet’s original English. WeserCode navigation and controls follow your selected site language.
API reference · VERSION 0.9.0

/api/v1/directory — API reference

Run a bounded directory query through a permitted source’s configured directory.

Editorial review
i
Source-aligned documentation preview

This v0.9.0 page is preserved from the supplied documentation packet and remains marked for editorial approval. Product behavior and limitations are stated as documented; this preview is not a claim of external acceptance or certification.

Run a bounded directory query through a permitted source’s configured directory.

Applies to v0.9.0. Follow the workflow guide and the API overview. Use the configured customer server origin, not the proposed documentation hostname.

POST /api/v1/directory

Authenticated current user and the source/action authorization described in the linked workflow.

Normal feature use requires an active trial/license; expiry can return HTTP 423 even where the contract lists only common responses.

Declared parameters

Name Location Required Schema
X-AccessScope-Request header True {"type": "string", "const": "1"}

Request body: application/json

Contract: DirectoryQuery.

Property Required Declared constraints
source False {"anyOf": [{"type": "string", "maxLength": 48}, {"type": "null"}], "title": "Source"}
directory_id False {"anyOf": [{"type": "string", "maxLength": 100}, {"type": "null"}], "title": "Directory Id"}
operation False {"type": "string", "enum": ["search", "members", "resolve", "tree", "entry"], "title": "Operation", "default": "search"}
text False {"type": "string", "maxLength": 1000, "title": "Text", "default": ""}
cookie False {"anyOf": [{"type": "string", "maxLength": 4096}, {"type": "null"}], "title": "Cookie"}
limit False {"type": "integer", "maximum": 200.0, "minimum": 1.0, "title": "Limit", "default": 100}
sid False {"anyOf": [{"type": "string", "maxLength": 4096}, {"type": "null"}], "title": "Sid"}
sids False {"anyOf": [{"items": {"type": "string"}, "type": "array", "maxItems": 100}, {"type": "null"}], "title": "Sids"}
dn False {"anyOf": [{"type": "string", "maxLength": 4096}, {"type": "null"}], "title": "Dn"}

Declared responses

HTTP status Meaning/contract
200 Successful Response Inline contract
400 Bad Request ErrorResponse
401 Unauthorized ErrorResponse
403 Forbidden ErrorResponse
409 Conflict ErrorResponse
422 Validation Error HTTPValidationError

Read error.code, message and correlation_id on failure. Check errors and limits. Never convert a rejected request into an empty permission result.

Side effects and evidence

Run a bounded directory query through a permitted source’s configured directory. Responses and availability depend on current policy/state. POST alone does not mean an infrastructure mutation: read queries, test operations, proposals and local administration remain distinct from the exact change-execution endpoint.

DOCUMENT CONTROL

Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

WESERCODE ONE / CUSTOMER PORTAL

Ihr Kundenkonto für alle Produkte.

Support-Tickets, Bestellanfragen, Lizenz- und Abonnementübersicht an einer Stelle.

Zum Kundenportal ↗
BUILT BY WESERCODE · BREMEN

Make access easier to understand.

Discuss an evaluation, deployment question or the product roadmap with WeserCode.

Talk to WeserCode ↗