From a694df6f73fd5770be8a6a3c1f6a20d7c0263803 Mon Sep 17 00:00:00 2001 From: brontolosone <177225737+brontolosone@users.noreply.github.com> Date: Tue, 3 Dec 2024 13:21:48 +0000 Subject: [PATCH] add userpreferences example per https://github.com/getodk/central-backend/pull/1259#discussion_r1848886676 --- docs/api.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/api.yaml b/docs/api.yaml index c8bfe7605..962551007 100644 --- a/docs/api.yaml +++ b/docs/api.yaml @@ -1765,6 +1765,14 @@ paths: server-wide. items: type: object + preferences: + description: The preferences of this user + type: object + properties: + site: + type: object + projects: + type: object example: createdAt: 2018-04-18T23:19:14.802Z displayName: My Display Name @@ -1776,6 +1784,12 @@ paths: verbs: - project.create - project.update + preferences: + site: + projectSortMode: latest + projects: + "1": + formTrashCollapsed: false 403: description: Forbidden content: