aboutsummaryrefslogtreecommitdiffstats
path: root/packages/open-api
diff options
context:
space:
mode:
Diffstat (limited to 'packages/open-api')
-rw-r--r--packages/open-api/karakeep-openapi-spec.json32
1 files changed, 29 insertions, 3 deletions
diff --git a/packages/open-api/karakeep-openapi-spec.json b/packages/open-api/karakeep-openapi-spec.json
index 4f846cef..04596bf0 100644
--- a/packages/open-api/karakeep-openapi-spec.json
+++ b/packages/open-api/karakeep-openapi-spec.json
@@ -108,6 +108,9 @@
"import"
]
},
+ "userId": {
+ "type": "string"
+ },
"tags": {
"type": "array",
"items": {
@@ -341,6 +344,7 @@
"favourited",
"taggingStatus",
"summarizationStatus",
+ "userId",
"tags",
"content",
"assets"
@@ -402,6 +406,18 @@
},
"public": {
"type": "boolean"
+ },
+ "hasCollaborators": {
+ "type": "boolean"
+ },
+ "userRole": {
+ "type": "string",
+ "enum": [
+ "owner",
+ "editor",
+ "viewer",
+ "public"
+ ]
}
},
"required": [
@@ -409,7 +425,9 @@
"name",
"icon",
"parentId",
- "public"
+ "public",
+ "hasCollaborators",
+ "userRole"
]
},
"Highlight": {
@@ -1194,6 +1212,9 @@
"rss",
"import"
]
+ },
+ "userId": {
+ "type": "string"
}
},
"required": [
@@ -1203,7 +1224,8 @@
"archived",
"favourited",
"taggingStatus",
- "summarizationStatus"
+ "summarizationStatus",
+ "userId"
]
}
}
@@ -1318,6 +1340,9 @@
"rss",
"import"
]
+ },
+ "userId": {
+ "type": "string"
}
},
"required": [
@@ -1327,7 +1352,8 @@
"archived",
"favourited",
"taggingStatus",
- "summarizationStatus"
+ "summarizationStatus",
+ "userId"
]
}
}