Skip to content

ReferenceCatalog ListVersions returns 500 when using SortDirection #77

Description

@dennis-kuypers-gcx

Using Reference Catalog ListVersions always returns 500 error codes when I try to use a SortDirection.

In the parameter documentation table they omitted a parameter that is present in the template url
GET /v1/skills/api/custom/interactionModel/catalogs/{catalogId}/versions?maxResults={maxResults}&nextToken={nextToken}&sortDirection={sortDirection}&sortField={sortField}

The 500 could be due to the missing sortField. However I have not been able to make this work using the ask-cli.
This issue is probably not actionable until we know how to use the API properly.

I'll update this ticket when I know more.

Then we can probably also choose proper overloads that match the api (for example it looks like the nextToken contains the count, so maxResults can maybe be omitted when using next tokens)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions