Skip to content

count property on Collection is not recommended #21111

Closed

Description

API Management service swagger has count property on Resource Collection response.

This is not recommended for the API Guideline perspective
https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#collections

The intention with the count property is to check for resource existence based on a $filter query and $top=0 by just checking count > 0.

Do we really need to the count property and think of other solution out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions