Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Update REST API documentation project links and description.

Lauryn Menard13313ef784cb
diff --git a/docs/outreach/gsoc.md b/docs/outreach/gsoc.md
index 655864a7a4e..0c89e605e84 100644
--- a/docs/outreach/gsoc.md
+++ b/docs/outreach/gsoc.md
@@ -132,18 +132,20 @@ Django, TypeScript/JavaScript, and CSS.
which are quite important, the visual design isn't perfect
(especially for, e.g., `GET /events`), many templates could be deleted
with a bit of framework effort, etc. See the [API docs area
- label][api-docs-area] for some specific projects in the area; and
- `git grep pending_endpoints` to find the list of endpoints that need
- documentation and their priorities. Our goal for the summer is for
- 1-2 students to resolve all open issues related to the REST API
- documentation. 175 or 350 hours; difficulty easy or medium. **Skills
- required**: Python programming. Expertise with reading documentation
- and English writing are valuable, and product thinking about the
- experience of using third-party APIs is very helpful.
+ label][api-docs-area] for some specific projects in the area, and
+ [this api documentation discussion][czo-api-endpoints] for current
+ priorities on API endpoints to document (`git grep pending_endpoints`).
+ Our goal for the summer is for 1-2 students to resolve all open issues
+ related to the REST API documentation. 175 or 350 hours; difficulty
+ easy or medium. **Skills required**: Python programming. Expertise
+ with reading documentation and English writing are valuable, and
+ product thinking about the experience of using third-party APIs is
+ very helpful.
Expert: Lauryn Menard
-[api-docs-area]: https://github.com/zulip/zulip/issues?q=is%3Aopen+is%3Aissue+label%3A%22area%3A+documentation+%28api+and+integrations%29%22
+[api-docs-area]: https://github.com/zulip/zulip/issues?q=is%3Aopen%20is%3Aissue%20label%3A%22area%3A%20documentation%20(api)%22
+[czo-api-endpoints]: https://chat.zulip.org/#narrow/channel/412-api-documentation/topic/Undocumented.20endpoint.20priorities/with/2397881
- **Improve the UI and visual design** of the Zulip web app. We are working on a
major redesign for the core surfaces of the Zulip web app -- see the [redesign
diff --git a/zerver/tests/test_openapi.py b/zerver/tests/test_openapi.py
index 1ec3040f447..16ae79a9b65 100644
--- a/zerver/tests/test_openapi.py
+++ b/zerver/tests/test_openapi.py
@@ -205,6 +205,8 @@ class OpenAPIArgumentsTest(ZulipTestCase):
# This will be filled during test_openapi_arguments:
checked_endpoints: set[str] = set()
pending_endpoints = {
+ #### For current endpoint documentation priorities see
+ #### https://chat.zulip.org/#narrow/channel/412-api-documentation/topic/Undocumented.20endpoint.20priorities/with/2397881
#### TODO: These endpoints are a priority to document:
# These are a priority to document but don't match our normal URL schemes
# and thus may be complicated to document with our current tooling.
@@ -215,14 +217,15 @@ class OpenAPIArgumentsTest(ZulipTestCase):
#### These realm administration settings are valuable to document:
# Delete a data export.
"/export/realm/{export_id}",
- # Manage default streams and default stream groups
- "/default_stream_groups/create",
- "/default_stream_groups/{group_id}",
- "/default_stream_groups/{group_id}/streams",
# Single-stream settings alternative to the bulk endpoint
# users/me/subscriptions/properties; probably should just be a
# section of the same page.
"/users/me/subscriptions/{stream_id}",
+ # Default stream groups are an unfinished feature and therefore
+ # shouldn't be added to the documentation until that's completed.
+ "/default_stream_groups/create",
+ "/default_stream_groups/{group_id}",
+ "/default_stream_groups/{group_id}/streams",
#### Mobile-app only endpoints; important for mobile developers.
# Mobile interface for development environment login
"/dev_list_users",