This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit dd9516872dc592a2d98bcd4bcb8872178e934d99
Author: Daniel Castillo <daniel.casti...@slashdotmedia.com>
AuthorDate: Wed Jul 24 21:22:36 2024 +0000

    [#422] Update on allura-api.json file
---
 Allura/docs/api-rest/allura-api.json | 53 ++++++++++++++++++++++++++++++++++--
 1 file changed, 51 insertions(+), 2 deletions(-)

diff --git a/Allura/docs/api-rest/allura-api.json 
b/Allura/docs/api-rest/allura-api.json
index 2c5ce001b..63c91cb38 100644
--- a/Allura/docs/api-rest/allura-api.json
+++ b/Allura/docs/api-rest/allura-api.json
@@ -3,9 +3,12 @@
     "info": {
       "title": "Apache Allura",
       "description": "<!--\n    Licensed to the Apache Software Foundation 
(ASF) under one\n    or more contributor license agreements.  See the NOTICE 
file\n    distributed with this work for additional information\n    regarding 
copyright ownership.  The ASF licenses this file\n    to you under the Apache 
License, Version 2.0 (the\n    \"License\"); you may not use this file except 
in compliance\n    with the License.  You may obtain a copy of the License 
at\n\n      http://www.apache. [...]
-      "version": "1"
+      "version": ""
     },
-    "x-basePath": "{domain}/rest",
+    "x-servers": [{
+      "url": "https://forge-allura.apache.org/rest";,
+      "description": "Source Forge"
+    }],
     "schemes": [
       "https"
     ],
@@ -67,6 +70,7 @@
       "/auth/tools/{tool_type}": {
         "get": {
           "description": "List tools (e.g. \"git\" repos) that the current 
user is associated with\n",
+          "summary":"List user tools",
           "operationId": "GET_auth-tools-tool_type",
           "produces": [
             "application/json"
@@ -158,6 +162,7 @@
       "/{neighborhood}/has_access": {
         "get": {
           "description": "**Endpoints**\nPermissions can be checked at three 
levels:\n1. **Neighborhood:** `/rest/p/has_access`\n2. **Project:** 
`/rest/p/project_name/has_access`\n3. **Tool:** 
`/rest/p/project_name/mount_point/has_access`\n\n---\n\nIt is only available to 
users that have 'admin' permission for corresponding neighborhood/project/tool. 
It requires user and perm parameters and will return JSON dict with result key, 
which contains boolean value, indicating if given user has  [...]
+          "summary":"Neighborhood has_access",
           "operationId": "GET_neighborhood-has_access",
           "responses": {
             "default": {
@@ -200,6 +205,7 @@
       "/{neighborhood}/add_project": {
         "post": {
           "operationId": "POST_neighborhood-add_project",
+          "summary":"Neighborhood add project",
           "responses": {
             "default": {
               "description": ""
@@ -259,6 +265,7 @@
       "/{neighborhood}/{project}": {
         "get": {
           "operationId": "GET_neighborhood-project",
+          "summary":"Neighborhood get project",
           "produces": [
             "application/json"
           ],
@@ -570,6 +577,7 @@
         "get": {
           "description": "**Endpoints**\nPermissions can be checked at three 
levels:\n1. **Neighborhood:** `/rest/p/has_access`\n2. **Project:** 
`/rest/p/project_name/has_access`\n3. **Tool:** 
`/rest/p/project_name/mount_point/has_access`\n\n---\n\nIt is only available to 
users that have 'admin' permission for corresponding neighborhood/project/tool. 
It requires user and perm parameters and will return JSON dict with result key, 
which contains boolean value, indicating if given user has  [...]
           "operationId": "GET_neighborhood-project-has_access",
+          "summary":"Neighborhood Project has_access",
           "responses": {
             "default": {
               "description": ""
@@ -618,6 +626,7 @@
       "/{neighborhood}/{project}/{scm_tool}": {
         "get": {
           "operationId": "GET_neighborhood-project-scm_tool",
+          "summary":"Neighborhood Project scm tool",
           "produces": [
             "application/json"
           ],
@@ -738,6 +747,7 @@
       "/{neighborhood}/{project}/{wiki}": {
         "get": {
           "operationId": "GET_neighborhood-project-wiki",
+          "summary":"Neighborhood Project wiki",
           "produces": [
             "application/json"
           ],
@@ -818,6 +828,7 @@
       "/{neighborhood}/{project}/{wiki}/{title}": {
         "get": {
           "description": "returns a JSON representation of a page\n",
+          "summary":"Neighborhood Project wiki title",
           "operationId": "GET_neighborhood-project-wiki-title",
           "produces": [
             "application/json"
@@ -902,6 +913,7 @@
         },
         "post": {
           "description": "Creates or updates the titled page.\n",
+          "summary":"Neighborhood Project update wiki title",
           "operationId": "POST_neighborhood-project-wiki-title",
           "responses": {
             "201": {
@@ -962,6 +974,7 @@
       "/{neighborhood}/{project}/{wiki}/has_access": {
         "get": {
           "description": "**Endpoints**\nPermissions can be checked at three 
levels:\n1. **Neighborhood:** `/rest/p/has_access`\n2. **Project:** 
`/rest/p/project_name/has_access`\n3. **Tool:** 
`/rest/p/project_name/mount_point/has_access`\n\n---\n\nIt is only available to 
users that have 'admin' permission for corresponding neighborhood/project/tool. 
It requires user and perm parameters and will return JSON dict with result key, 
which contains boolean value, indicating if given user has  [...]
+          "summary":"Neighborhood Project wiki has_access",
           "operationId": "GET_neighborhood-project-wiki-has_access",
           "responses": {
             "default": {
@@ -1022,6 +1035,7 @@
       "/{neighborhood}/{project}/{tracker}": {
         "get": {
           "description": "Get a list of tickets\n",
+          "summary":"Neighborhood Project tracker",
           "operationId": "GET_neighborhood-project-tracker",
           "produces": [
             "application/json"
@@ -1344,6 +1358,7 @@
       },
       "/{neighborhood}/{project}/{tracker}/{ticketNumber}": {
         "get": {
+          "summary":"Neighborhood Project tracker tickerNumber",
           "operationId": "GET_neighborhood-project-tracker-ticketNumber",
           "produces": [
             "application/json"
@@ -1605,6 +1620,7 @@
       "/{neighborhood}/{project}/{tracker}/{ticketNumber}/save": {
         "post": {
           "operationId": "POST_neighborhood-project-tracker-ticketNumber-save",
+          "summary":"Neighborhood Project tracker tickerNumber save",
           "responses": {
             "default": {
               "description": ""
@@ -1708,6 +1724,7 @@
       "/{neighborhood}/{project}/{tracker}/search": {
         "get": {
           "operationId": "GET_neighborhood-project-tracker-search",
+          "summary":"Neighborhood Project tracker search",
           "produces": [
             "application/json"
           ],
@@ -2097,6 +2114,7 @@
       "/{neighborhood}/{project}/{tracker}/new": {
         "post": {
           "operationId": "POST_neighborhood-project-tracker-new",
+          "summary":"Neighborhood Project tracker new",
           "responses": {
             "default": {
               "description": ""
@@ -2194,6 +2212,7 @@
         "get": {
           "description": "returns summary information about a thread, 
including the posts in a thread\n",
           "operationId": 
"GET_neighborhood-project-tracker-_discuss-thread-threadId",
+          "summary":"Neighborhood Project tracker discuss thread threadId",
           "responses": {
             "default": {
               "description": ""
@@ -2244,6 +2263,7 @@
       "/{neighborhood}/{project}/{tracker}/_discuss/thread/{threadId}/{slug}": 
{
         "get": {
           "description": "returns detailed information about a post\n",
+          "summary":"Neighborhood Project tracker discuss thread threadId 
slug",
           "operationId": 
"GET_neighborhood-project-tracker-_discuss-thread-threadId-slug",
           "responses": {
             "default": {
@@ -2294,6 +2314,7 @@
       },
       
"/{neighborhood}/{project}/{tracker}/_discuss/thread/{threadId}/{slug}/reply": {
         "post": {
+          "summary":"Neighborhood Project tracker discuss thread threadId slug 
reply",
           "operationId": 
"POST_neighborhood-project-tracker-_discuss-thread-threadId-slug-reply",
           "responses": {
             "default": {
@@ -2354,6 +2375,7 @@
       },
       "/{neighborhood}/{project}/{tracker}/_discuss/thread/{threadId}/new": {
         "post": {
+          "summary":"Neighborhood Project tracker discuss thread threadId new",
           "operationId": 
"POST_neighborhood-project-tracker-_discuss-thread-threadId-new",
           "responses": {
             "default": {
@@ -2409,6 +2431,7 @@
       "/{neighborhood}/{project}/{tracker}/has_access": {
         "get": {
           "description": "**Endpoints**\nPermissions can be checked at three 
levels:\n1. **Neighborhood:** `/rest/p/has_access`\n2. **Project:** 
`/rest/p/project_name/has_access`\n3. **Tool:** 
`/rest/p/project_name/mount_point/has_access`\n\n---\n\nIt is only available to 
users that have 'admin' permission for corresponding neighborhood/project/tool. 
It requires user and perm parameters and will return JSON dict with result key, 
which contains boolean value, indicating if given user has  [...]
+          "summary":"Neighborhood Project tracker has_access",
           "operationId": "GET_neighborhood-project-tracker-has_access",
           "responses": {
             "default": {
@@ -2470,6 +2493,7 @@
       "/{neighborhood}/{project}/{discussion}": {
         "get": {
           "description": "Returns a list of forums, including name, 
description, num_topics, and last_post details\n",
+          "summary":"Neighborhood Project discussion",
           "operationId": "GET_neighborhood-project-discussion",
           "produces": [
             "application/json"
@@ -2649,6 +2673,7 @@
       "/{neighborhood}/{project}/{discussion}/{forum}": {
         "get": {
           "description": "returns a limited list of topics in the forum, with 
fields for subject, num_replies, API URL, and last_post\nTo view more than 100 
threads, or 100 posts in a thread, use the pagination support of the API by 
adding ?page=1 etc. to the URL.\n",
+          "summary":"Neighborhood Project discussion forum",
           "operationId": "GET_neighborhood-project-discussion-forum",
           "produces": [
             "application/json"
@@ -2793,6 +2818,7 @@
       "/{neighborhood}/{project}/{discussion}/{forum}/thread/{thread}": {
         "get": {
           "description": "returns a list of posts in the thread, with fields 
for author, text, and timestamp. Nested posts (i.e. a reply to a post) can be 
determined by the slug structure. For example, \"slug\": \"0a0b/9f00\" is a 
reply to the post with \"slug\": \"0a0b\"\n",
+          "summary":"Neighborhood Project discussion thread",
           "operationId": 
"GET_neighborhood-project-discussion-forum-thread-thread",
           "responses": {
             "default": {
@@ -2850,6 +2876,7 @@
       "/{neighborhood}/{project}/{discussion}/has_access": {
         "get": {
           "description": "**Endpoints**\nPermissions can be checked at three 
levels:\n1. **Neighborhood:** `/rest/p/has_access`\n2. **Project:** 
`/rest/p/project_name/has_access`\n3. **Tool:** 
`/rest/p/project_name/mount_point/has_access`\n\n---\n\nIt is only available to 
users that have 'admin' permission for corresponding neighborhood/project/tool. 
It requires user and perm parameters and will return JSON dict with result key, 
which contains boolean value, indicating if given user has  [...]
+          "summary":"Neighborhood Project discussion has_access",
           "operationId": "GET_neighborhood-project-discussion-has_access",
           "responses": {
             "default": {
@@ -2907,6 +2934,7 @@
       "/{neighborhood}/{project}/{blog}": {
         "get": {
           "description": "Returns a list of posts, including title and API 
url.\n",
+          "summary":"Neighborhood Project blog",
           "operationId": "GET_neighborhood-project-blog",
           "produces": [
             "application/json"
@@ -2971,6 +2999,7 @@
         },
         "post": {
           "description": "Creates a new blog post.\n",
+          "summary":"Neighborhood Project blog new",
           "operationId": "POST_neighborhood-project-blog",
           "responses": {
             "201": {
@@ -3037,6 +3066,7 @@
       "/{neighborhood}/{project}/{blog}/{year}/{month}/{title}": {
         "post": {
           "description": "Updates an existing blog post.\n",
+          "summary":"Neighborhood Project update blog post",
           "operationId": "POST_neighborhood-project-blog-year-month-title",
           "responses": {
             "201": {
@@ -3077,6 +3107,7 @@
           ]
         },
         "get": {
+          "summary":"Neighborhood Project get blog post",
           "operationId": "GET_neighborhood-project-blog-year-month-title",
           "produces": [
             "application/json"
@@ -3218,6 +3249,7 @@
       "/{neighborhood}/{project}/{blog}/has_access": {
         "get": {
           "description": "**Endpoints**\nPermissions can be checked at three 
levels:\n1. **Neighborhood:** `/rest/p/has_access`\n2. **Project:** 
`/rest/p/project_name/has_access`\n3. **Tool:** 
`/rest/p/project_name/mount_point/has_access`\n\n---\n\nIt is only available to 
users that have 'admin' permission for corresponding neighborhood/project/tool. 
It requires user and perm parameters and will return JSON dict with result key, 
which contains boolean value, indicating if given user has  [...]
+          "summary":"Neighborhood Project blog hass_access",
           "operationId": "GET_neighborhood-project-blog-has_access",
           "responses": {
             "default": {
@@ -3276,6 +3308,7 @@
       "/{neighborhood}/{project}/{link}": {
         "get": {
           "description": "Returns the existing url.\n",
+          "summary":"Neighborhood Project Link",
           "operationId": "GET_neighborhood-project-link",
           "produces": [
             "application/json"
@@ -3307,6 +3340,7 @@
         },
         "post": {
           "description": "Updates the url. *authentication required*.\n",
+          "summary":"Neighborhood Project update link",
           "operationId": "POST_neighborhood-project-link",
           "responses": {
             "201": {
@@ -3355,6 +3389,7 @@
       "/{neighborhood}/{project}/admin/export": {
         "post": {
           "description": "Submits an export job\n\n**400 Bad Request:** tools 
parameter not provided or is invalid\n**503 Service Unavailable:** an export 
job is already running\n**200 OK:** job submitted. Body will be: *{\"status\": 
\"in progress\", \"filename\": FILENAME}*\n",
+          "summary":"Neighborhood Project Admin Export",
           "operationId": "POST_neighborhood-project-admin-export",
           "responses": {
             "default": {
@@ -3388,6 +3423,7 @@
       "/{neighborhood}/{project}/admin/export_status": {
         "get": {
           "description": "Returns status: busy or ready\n",
+          "summary":"Neighborhood Project Admin Export status",
           "operationId": "GET_neighborhood-project-admin-export_status",
           "responses": {
             "default": {
@@ -3421,6 +3457,7 @@
       "/{neighborhood}/{project}/admin/{tool}/webhooks": {
         "get": {
           "description": "Returns the list of webhooks\n",
+          "summary":"Neighborhood Project list webhooks",
           "operationId": "GET_neighborhood-project-admin-tool-webhooks",
           "produces": [
             "application/json"
@@ -3537,6 +3574,7 @@
       "/{neighborhood}/{project}/admin/{tool}/webhooks/{type}": {
         "post": {
           "description": "Create a new webhook.\n",
+          "summary":"Neighborhood Project create new webhook",
           "operationId": "POST_neighborhood-project-admin-tool-webhooks-type",
           "responses": {
             "default": {
@@ -3596,6 +3634,7 @@
       "/{neighborhood}/{project}/admin/{tool}/webhooks/{type}/{id}": {
         "get": {
           "description": "View a webhook\n",
+          "summary":"Neighborhood Project get webhook",
           "operationId": 
"GET_neighborhood-project-admin-tool-webhooks-type-id",
           "produces": [
             "application/json"
@@ -3647,6 +3686,7 @@
         },
         "post": {
           "description": "Update an existing webhook\n",
+          "summary":"Neighborhood Project update webhook",
           "operationId": 
"POST_neighborhood-project-admin-tool-webhooks-type-id",
           "responses": {
             "201": {
@@ -3677,6 +3717,7 @@
         },
         "delete": {
           "description": "Delete an existing webhook\n",
+          "summary":"Neighborhood Project delete webhook",
           "operationId": 
"DELETE_neighborhood-project-admin-tool-webhooks-type-id",
           "responses": {
             "200": {
@@ -3733,6 +3774,7 @@
       "/{neighborhood}/{project}/admin/install_tool": {
         "post": {
           "operationId": "POST_neighborhood-project-admin-install_tool",
+          "summary":"Neighborhood Project Admin Install Tool",
           "responses": {
             "default": {
               "description": ""
@@ -3794,6 +3836,7 @@
       },
       "/{neighborhood}/{project}/admin/mount_order": {
         "post": {
+          "summary":"Neighborhood Project Admin Mount Order",
           "operationId": "POST_neighborhood-project-admin-mount_order",
           "responses": {
             "default": {
@@ -3853,6 +3896,7 @@
       },
       "/{neighborhood}/{project}/admin/configure_tool_grouping": {
         "post": {
+          "summary":"Neighborhood Project Adming Configure Tool Grouping",
           "operationId": 
"POST_neighborhood-project-admin-configure_tool_grouping",
           "responses": {
             "default": {
@@ -3894,6 +3938,7 @@
       },
       "/{neighborhood}/{project}/admin/installable_tools": {
         "get": {
+          "summary":"Neighborhood Project Admin Installable Tools",
           "operationId": "GET_neighborhood-project-admin-installable_tools",
           "responses": {
             "default": {
@@ -3926,6 +3971,7 @@
       },
       "/{neighborhood}/{project}/admin/admin_options": {
         "get": {
+          "summary":"Neighborhood Project Admin Options",
           "operationId": "GET_neighborhood-project-admin-admin_options",
           "responses": {
             "default": {
@@ -3965,6 +4011,7 @@
       },
       "/u/{username}": {
         "get": {
+          "summary":"Get Username",
           "operationId": "GET_u-username",
           "produces": [
             "application/json"
@@ -4240,6 +4287,7 @@
       },
       "/u/{username}/profile": {
         "get": {
+          "summary":"Get profile",
           "operationId": "GET_u-username-profile",
           "produces": [
             "application/json"
@@ -4523,6 +4571,7 @@
       },
       "/notification": {
         "get": {
+          "summary":"Get Notification",
           "operationId": "GET_notification",
           "responses": {
             "default": {

Reply via email to