contents

List Company Contents

Retrieve all content for a specific company.

get/api/companies/{company_uuid}/contents

Request

  • Base URL
    https://api.regdoor.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

company_uuidstring uuid required

Query parameters

searchstring nullable

Free-text search. Whitespace-separated terms use AND semantics: each term must match at least one of name, original file name, info.english_title, info.original_title, linked sector name, or jurisdiction name/code.

user_uuidstring nullable

Filter by user UUID

user_uuid_liststring[] nullable

Filter by multiple user UUIDs (content created by any of these users)

content_typestring nullable

Filter by content type

typestring nullable

Filter by content type name (from content_types table, matches name field)

type_liststring[] nullable

Filter by multiple content type names (OR logic, matches name field in content_types table)

content_liststring[]

Filter by content list

type_uuidstring uuid nullable

Filter by content type UUID (from content_types table)

organization_liststring[] nullable

Filter by organization UUIDs (OR): content linked to any listed organization

jurisdiction_listinteger[] nullable

Filter by jurisdiction IDs

sector_uuid_liststring[] nullable

Filter by sector UUIDs (OR): content linked to any listed sector

subsector_uuid_liststring[] nullable

Filter by subsector UUIDs (OR): content linked to any listed sector that has a parent sector

contact_liststring[] nullable

Filter by contact UUIDs (OR): global content directly linked to any listed contact for this company

relevancesCompanyContentRelevanceEnum[] nullable

Filter by company_content.relevance values (OR). Empty list means no relevance filter. Values: None, Low, Moderate, High, Critical.

sort_bystring nullable

Sort by field: name, english_title, released_at, created_at, updated_at, type, original_file_name, relevance, arrival (latest tramitação of the linked events, else created_at)

sort_orderstring nullable

Sort order (asc or desc)

only_companyboolean nullable

Only return contents for the company

only_publicboolean nullable

Only return global (public) contents

published_fromstring date-time nullable

Filter by publication date from (inclusive). Accepts ISO 8601 format, treated as UTC. Examples: 2024-01-01T00:00:00Z, 2024-01-01T00:00:00+00:00, or 2024-01-01T00:00:00

published_tostring date-time nullable

Filter by publication date to (inclusive). Accepts ISO 8601 format, treated as UTC. Examples: 2024-06-30T23:59:59Z, 2024-06-30T23:59:59+00:00, or 2024-06-30T23:59:59

created_fromstring date-time nullable

Filter by content created_at from (inclusive). ISO 8601, naive UTC in DB.

created_tostring date-time nullable

Filter by content created_at to (inclusive). ISO 8601, naive UTC in DB.

updated_fromstring date-time nullable

Filter by content updated_at from (inclusive). ISO 8601, naive UTC in DB.

updated_tostring date-time nullable

Filter by content updated_at to (inclusive). ISO 8601, naive UTC in DB.

list_with_tagsboolean nullable

If true, includes chunk tags in the response

list_with_subjectsboolean

Deprecated and ignored: subjects are no longer computed for library listings (removed the chunks/tags/subjects join for performance). subjects_list is always null in list responses.

list_with_typesboolean nullable

If true, includes content type information in the response

list_with_sectorsboolean

If true, includes sectors in the response (default: omit for lighter payloads)

collection_liststring[] nullable

Filter by collections (OR logic)

collections_unassigned_onlyboolean nullable

When true, return only company private documents with no collections (NULL or empty JSON array). Ignores collection_list.

list_selected_contentsboolean nullable

When true, return only documents linked (organizations_contents) to at least one organization that is selected for this company (row in organizations_companies). Applies on top of the usual scope: global contents plus this company's private contents (unless only_company is true).

group_uuidstring[] nullable

Filter by area (group) via collections owned by these groups (My areas tab).

group_uuid_liststring[] nullable

Filter by responsible area (group) UUIDs (OR): content whose organizations have any listed area in this company.

mine_groupsboolean nullable

When true, adds the authenticated user's areas (leader or member) to group_uuid_list. Ignored when the user has no area.

unassigned_groupboolean nullable

When true, returns content whose organizations have no area in this company. Combined with group_uuid_list/mine_groups returns the union.

evaluation_status'pending' | 'in_treatment' | 'treated' | 'not_applicable' nullable

Filter by evaluation status in this company: pending (no task yet), in_treatment (open non-discarded work), treated (only terminal non-discarded tasks) or not_applicable (evaluated and discarded).

with_eventsboolean

When true, each item lists the events it belongs to (event_refs).

pageinteger

Page number

sizeinteger

Page size

Headers

X-User-Emailstring nullable
X-User-Namestring nullable
X-Teamspace-Uuidstring uuid nullable

Response

Successful Response

totalinteger nullable required
pageinteger nullable required
sizeinteger nullable required
pagesinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.