From 4ef7f8e3e35c382beb5ae49a78e09a129cfdbb7d Mon Sep 17 00:00:00 2001 From: box-apimgmt Date: Fri, 15 Mar 2024 13:51:03 -0700 Subject: [PATCH] feat: adding file activities endpoint --- openapi.json | 57 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/openapi.json b/openapi.json index 531e162c..4693f7ad 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "1e4c90ee46" + "x-box-commit-hash": "26ad43566e" }, "servers": [ { @@ -23909,7 +23909,7 @@ } } }, - "/v2/file_activities": { + "/file_activities": { "get": { "operationId": "get_file_activities", "summary": "List file activities", @@ -26178,29 +26178,40 @@ "type": "object", "x-box-resource-id": "file_activity_user", "x-box-tag": "file_activities", - "description": "A mini representation of a file activity user, as can be returned when nested within other\nresources.", - "allOf": [ - { - "$ref": "#/components/schemas/User--Base" + "description": "File activity user, as can be returned when nested within other\nresources.", + "required": [ + "type", + "id" + ], + "properties": { + "id": { + "type": "string", + "description": "The unique identifier for this user", + "example": "11446498" }, - { - "properties": { - "name": { - "type": "string", - "description": "The display name of this user", - "example": "Aaron Levie", - "maxLength": 50, - "nullable": true - }, - "login": { - "type": "string", - "description": "The primary email address of this user", - "example": "ceo@example.com", - "nullable": true - } - } + "type": { + "type": "string", + "description": "`user`", + "example": "user", + "nullable": false, + "enum": [ + "user" + ] + }, + "name": { + "type": "string", + "description": "The display name of this user", + "example": "Aaron Levie", + "maxLength": 50, + "nullable": true + }, + "login": { + "type": "string", + "description": "The primary email address of this user", + "example": "ceo@example.com", + "nullable": true } - ] + } }, "TaskAssignees": { "title": "Task Assignees",