Skip to content
Connect an agent

Organisations

Choose what an organisation's big imports draw

parts, whole, or both, for an import too big for one picture when the call does not say.

PUT/orgs/{org}/imports

TL;DR

QuestionAnswer
What does it do?Choose what an organisation's big imports draw.
What does it take?A JSON body of type SetOrganisationImportLargeBody.
What does it return?Status 200 with a body of type OrganisationImportLarge.
What can go wrong?400 the body is not valid; 401 not signed in; 403 the role may not (orgs.forbidden), or the request came from an origin that may not make changes; 404 no such organisation, or the caller is not a member of it; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope.

What it does

parts, whole, or both, for an import too big for one picture when the call does not say. A member's own choice wins. The owner or an admin.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.

Request body

The body has the type SetOrganisationImportLargeBody.

FieldTypeRequiredDescription
large"parts" | "whole" | "both"yes

Responses

StatusMeaningBody
200The choice now.OrganisationImportLarge
400The body is not valid.ErrorResponse
401Not signed in.ErrorResponse
403The role may not (orgs.forbidden), or the request came from an origin that may not make changes.ErrorResponse
404No such organisation, or the caller is not a member of it.ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not set up on this server.ErrorResponse

Response body

A 200 answer has the type OrganisationImportLarge.

FieldTypeRequiredDescription
large"parts" | "whole" | "both"yesWhat an import too big for one readable picture draws for the organisation's members, keys and agents when the call does not say: parts (an overview and one diagram per group), whole (one diagram with every arrow), or both (the default). A member's own choice wins.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools