{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"order_by": {
"type": "string",
"description": "Return projects ordered by field. storage_size, repository_size, wiki_size, packages_size are only available to admins. Similarity is available when searching and is limited to projects the user has access to.",
"enum": [
"id",
"name",
"path",
"created_at",
"updated_at",
"last_activity_at",
"similarity",
"star_count",
"storage_size",
"repository_size",
"wiki_size",
"packages_size"
]
},
"sort": {
"type": "string",
"description": "Return projects sorted in ascending and descending order",
"enum": [
"asc",
"desc"
]
},
"archived": {
"type": "boolean",
"description": "Limit by archived status"
},
"visibility": {
"type": "string",
"description": "Limit by visibility",
"enum": [
"private",
"internal",
"public"
]
},
"search": {
"type": "string",
"description": "Return list of projects matching the search criteria"
},
"search_namespaces": {
"type": "boolean",
"description": "Include ancestor namespaces when matching search criteria"
},
"owned": {
"type": "boolean",
"description": "Limit by owned by authenticated user"
},
"starred": {
"type": "boolean",
"description": "Limit by starred status"
},
"imported": {
"type": "boolean",
"description": "Limit by imported by authenticated user"
},
"membership": {
"type": "boolean",
"description": "Limit by projects that the current user is a member of"
},
"with_issues_enabled": {
"type": "boolean",
"description": "Limit by enabled issues feature"
},
"with_merge_requests_enabled": {
"type": "boolean",
"description": "Limit by enabled merge requests feature"
},
"with_programming_language": {
"type": "string",
"description": "Limit to repositories which use the given programming language"
},
"min_access_level": {
"type": "integer",
"description": "Limit by minimum access level of authenticated user",
"enum": [
10,
15,
20,
30,
40,
50
]
},
"id_after": {
"type": "integer",
"description": "Limit results to projects with IDs greater than the specified ID"
},
"id_before": {
"type": "integer",
"description": "Limit results to projects with IDs less than the specified ID"
},
"last_activity_after": {
"type": "string",
"description": "Limit results to projects with last_activity after specified time. Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ"
},
"last_activity_before": {
"type": "string",
"description": "Limit results to projects with last_activity before specified time. Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ"
},
"repository_storage": {
"type": "string",
"description": "Which storage shard the repository is on. Available only to admins"
},
"topic": {
"type": "array",
"items": {
"type": "string"
},
"description": "Comma-separated list of topics. Limit results to projects having all topics"
},
"topic_id": {
"type": "integer",
"description": "Limit results to projects with the assigned topic given by the topic ID"
},
"updated_before": {
"type": "string",
"description": "Return projects updated before the specified datetime. Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ"
},
"updated_after": {
"type": "string",
"description": "Return projects updated after the specified datetime. Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ"
},
"include_pending_delete": {
"type": "boolean",
"description": "Include projects in pending delete state. Can only be set by admins"
},
"marked_for_deletion_on": {
"type": "string",
"description": "Date when the project was marked for deletion"
},
"active": {
"type": "boolean",
"description": "Limit by projects that are not archived and not marked for deletion"
},
"wiki_checksum_failed": {
"type": "boolean",
"description": "Limit by projects where wiki checksum is failed"
},
"repository_checksum_failed": {
"type": "boolean",
"description": "Limit by projects where repository checksum is failed"
},
"include_hidden": {
"type": "boolean",
"description": "Include hidden projects. Can only be set by admins"
},
"page": {
"type": "integer",
"description": "Current page number"
},
"per_page": {
"type": "integer",
"description": "Number of items per page"
},
"simple": {
"type": "boolean",
"description": "Return only the ID, URL, name, and path of each project"
},
"statistics": {
"type": "boolean",
"description": "Include project statistics"
},
"with_custom_attributes": {
"type": "boolean",
"description": "Include custom attributes in the response"
}
},
"required": [
"PCID"
]
}