All endpoints not visible

Even though all endpoints are shown in the APIDog app in the main branch, on the live docs it is not shown, only one endpoint is live

This is urgent, please help


The endpoints are back now

What could be the issue?

Hi,After adding an endpoint, it takes a while for it to be displayed on the live docs.

melo

The issue wasn’t showing an endpoint

ALL endpoints were wiped, and they didn’t appear in the live docs

After sometime, they re-surfaced as normal

nabiloo19 Hi, thank you for reporting this issue. To help us resolve the problem more effectively, could you please provide some additional details?

Specifically:

  1. Does this behavior only occur after merging a large number of folders and endpoints back into the main branch?
  2. Could you quantify the duration of the “not showing” period? An approximate timeframe would be helpful.
  3. Did you repeatedly refresh the live docs page during this period to observe any changes in endpoint or folder visibility?

This information will assist us in diagnosing the root cause and resolving the bug.

Hello Karan

  1. This is the unprecedented. It never appeared this way, never happened before
  2. It lasted for approximately 30 minutes
  3. Yes we did try that, and multiple members from our team mentioned the issue (let alone community members)

nabiloo19 Thanks for the quick reply. Do any of your team members remember using features such as the import endpoint feature?

No, no import has been used

FYI: I am the one who implements the documentation,

nabiloo19 Comparing your screenshot with your live docs, it seems a lot of folders under APIs were also missing at that time. Was your merge involved in changing all the folders that got missing? Or did you remember what operations were involved in these folders right before they disappeared?

At the time of the incident, all endpoints were wiped except just one folder (Categories)

The operations involved when merging was one endpoint

30 minutes after the merge, things were back to normal

nabiloo19 If it has occurred immediately after the merge, we will try to identify the root cause in this respect. Apologize for all the inconvenience it brings, and we will resolve it as soon as possible.

Thank you so much, looking forward to hearing from you soon

Good morning, nabiloo19 . We have identified the bug and will fix the bug in today’s weekly release. It is currently undergoing testing. This bug occurred intermittently when a project had more than two branches based on the main branch, and one of those branches was merged with some changes on folders or endpoints. Because the branch entity needs to remain unchanged when associated with other branch references, we implemented a copy-on-write mechanism for the entity that need to be changed. However, there was a logic flaw in the copy-on-write implementation that sometimes caused the original visibility settings to be lost. We apologize for any inconvenience this may have caused. Please contact us if you have further questions.

nabiloo19 The fix has been released. Please contact us if you have any further questions.

Really appreciated your digging into this issue Karan ; hopefully it won’t occur. Thanks