Rewrite Resource Controller docs#5320
Conversation
|
One or more of the following people are relevant to this code:
|
|
You can see a preview at https://qiskit.github.io/documentation/pr-5320/docs/guides/access-instances-platform-apis |
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
| - `backends` — Array of strings. The allowlist of backend names available to this instance. `["ANY"]` means all backends on the plan are available (the default). `[]` means no backends are available. | ||
|
|
||
| <Admonition type="caution" title="Some extensions fields may be outdated"> | ||
| The following fields in the `extensions` object may be outdated. This can happen when IBM Quantum Support changes your instance's configuration. The current workaround is to instead use the [Qiskit Runtime REST API](/docs/api/qiskit-runtime-rest) to get this metadata. |
There was a problem hiding this comment.
I wonder if we can update this wording: the IBM Quantum Support team doesn't directly change an instance's configuration — it might seem like they have permission to do that, which they don't. Can we say something like (this may be too wordy, but its here for the idea): This can happen when an account update made by IBM Quantum Support results in a change to your instance, for example when a backend is removed from an account, it is automatically removed from an instance of the account.
|
|
||
| <Admonition type="caution" title="Always include a unique timestamp"> | ||
| The API silently ignores the request if `parameters` is identical to the previous request. In the `parameters` object, always include a `timestamp` field set to the current time so each request is treated as unique. | ||
| </Admonition> |
riley2012
left a comment
There was a problem hiding this comment.
@Eric-Arellano these are great improvements. Thanks for working on it! I left some comments in case you find them helpful.
Part of #5265.
This rewrite is mostly based on findings from https://github.com/IBM/qauvern using the Resource Controller API extensively.
We also add two warnings about quirks with the API.