Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API documentation is lacking key information #3649

Open
2 of 3 tasks
Tracked by #3722
pepopowitz opened this issue Apr 10, 2024 · 7 comments
Open
2 of 3 tasks
Tracked by #3722

API documentation is lacking key information #3649

pepopowitz opened this issue Apr 10, 2024 · 7 comments
Assignees
Labels
component:docs Documentation improvements, including new or updated content epic:api-interactivity theme:api-streamline Issues related to the theme of streamlining APIs

Comments

@pepopowitz
Copy link
Collaborator

pepopowitz commented Apr 10, 2024

The work

Note that it might be easier to accomplish some of these tasks by tackling https://github.com/camunda/developer-experience/issues/38 first.

Tasks

Preview Give feedback
  1. 7 of 7
    component:docs epic:api-interactivity theme:api-streamline
    pepopowitz
  2. 1 of 4
    component:docs theme:api-streamline
    christinaausley pepopowitz
  3. component:docs dx theme:api-streamline
    pepopowitz

Background

Watch @xomiamoore and @NPDeehan struggle to call the Zeebe REST API using our docs here: https://www.youtube.com/watch?v=KlWKbDkkid4&t=1h22m12s

In this case, they were specifically trying to use the Zeebe REST API, but most of the challenges they ran into apply to all our REST APIs.

Where they got stuck:

  • What is the auth server URL?
    • The Authentication guide says it is for "in the cloud", but uses a localhost URL for the auth server, with no mention of the URL for SaaS.
    • We should clearly state the auth server URL for SaaS in these Authentication guides.
    • It does appear that the Modeler Auth docs do give the SaaS authentication URL, which is where they eventually found it.
  • What does an example auth call look like?
    • It's present in the Authentication guide, but it takes them a while to find it. Can we highlight this more, knowing that devs are looking for something to copy/paste?
  • What is the SaaS URL for the Zeebe REST API? All that's in the specifications is localhost.
    • We should state this clearly in each API's overview.
    • It would be nice to see this in the API explorer, too. We could construct a default URL better than localhost for the API explorer, with obvious placeholders for the region & cluster ID in the URL.
    • It wasn't obvious to them that they could get the URLs from the environment variables when viewing an API client. We could more prominently guide them here in the API Overview.
@pepopowitz pepopowitz added component:docs Documentation improvements, including new or updated content epic:api-interactivity labels Apr 10, 2024
@pepopowitz
Copy link
Collaborator Author

cc @akeller for visibility

@akeller
Copy link
Member

akeller commented Apr 10, 2024

Love this! Thanks for bringing it up during the team meeting, too. Given that this is an API experience topic, consider this a 🟢 from me to be a top priority.

In this case, they were specifically trying to use the Zeebe REST API, but most of the challenges they ran into apply to all our REST APIs.

☝️ Keep relevant EMs & PMs in mind as you make changes/adjustments. If you have UI feedback for how this info may (or may not!) be presented in Console, that's good for the PM to hear, too.

@christinaausley
Copy link
Contributor

I'm happy to draft up some docs adjustments 😄

@christinaausley
Copy link
Contributor

FYI @pepopowitz that I'm planning to draft this up next week for your review.

@christinaausley christinaausley moved this from 🆕 Inbox to 🔖 Ready in Developer Experience Apr 24, 2024
@christinaausley christinaausley moved this from 🔖 Ready to 🏗 In Progress in Developer Experience Apr 26, 2024
@pepopowitz pepopowitz added the theme:api-streamline Issues related to the theme of streamlining APIs label Apr 26, 2024
@christinaausley
Copy link
Contributor

Moving to Ready as @pepopowitz is on FTO 👍

@christinaausley christinaausley moved this from 🏗 In Progress to 🔖 Ready in Developer Experience Jul 3, 2024
@pepopowitz pepopowitz moved this from 🔖 Ready to 🏗 In Progress in Developer Experience Jul 22, 2024
@christinaausley
Copy link
Contributor

@pepopowitz Is there anything I can contribute here, or should I remove myself as an assignee and just provide a review? 😄

@pepopowitz
Copy link
Collaborator Author

I've removed you @christinaausley, and I'll tag you for reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:docs Documentation improvements, including new or updated content epic:api-interactivity theme:api-streamline Issues related to the theme of streamlining APIs
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

3 participants