v1

latestOpenAPI 3.0.12026-07-23429391.9 KB
Ports

List ports

Lists ports to which the project has access.

get/v2.0/ports

Query parameters

admin_state_upboolean

Filter the list result by the administrative state of the resource.

idstring

Filter the list result by the ID of the resource.

namestring

Filter the list result by the human-readable name of the resource.

network_idstring

Filter the list result by the network ID.

project_idstring

Filter the list result by the ID of the project that owns the resource.

tenant_idstring

Filter the list result by the ID of the project that owns the resource.

device_idstring

Filter ports by device ID.

device_ownerstring

Filter ports by device owner.

status'ACTIVE' | 'BUILD' | 'DOWN' | 'ERROR'

Filter the list result by status.

fieldsstring

The fields that you want the server to return. If no fields are specified, all fields are returned.

sort_dir'asc' | 'desc'

Sort direction. A valid value is asc (ascending) or desc (descending).

sort_keystring

Sorts by a resource attribute.

tagsstring

A list of tags to filter the list result by. Resources that match all tags in this list will be returned.

tags-anystring

A list of tags to filter the list result by. Resources that match any tag in this list will be returned.

not-tagsstring

A list of tags to filter the list result by. Resources that match all tags in this list will be excluded.

not-tags-anystring

A list of tags to filter the list result by. Resources that match any tag in this list will be excluded.

Response

Successful operation