Skip to content

API Docs deep links not working #382

@janpaepke

Description

@janpaepke

Throughout the code we made an effort to include deep links to most methods, options and parameters.
Unfortunately with the latest update of the API Docs, linking to specific parameters does not work anymore.

I.e. the link for the method parameter for payment.create is this:
https://docs.mollie.com/reference/v2/payments-api/create-payment?path=method#parameters
which forwards to the new url:
https://docs.mollie.com/reference/create-payment?path=method#parameters

This does point to the correct endpoint, but ignores the search string and anchor.
There does not seem to be any obvious way to point to a specific parameter or response property in the new docs.

Ideally the page would be scrolled to the correct position and the corresponding param/prop highlighted.
Are there any plans for the docs to support something like this?

It does not have to follow the same logic as currently - for example we could switch search param and anchor, or make them both search params. Ideally we could simply run a global search and replace if and when deeplinking is implemented into the API docs.

Metadata

Metadata

Assignees

Labels

API docsIssues with the Mollie docs, ouside the scope of this package.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions