Namespaced Resources

List resources at namespace scope

get/kapis/resources.kubesphere.io/v1alpha3/namespaces/{namespace}/{resources}

Path parameters

namespacestring required

The specified namespace.

resourcesstring required

namespace level resource type, e.g. pods,jobs,configmaps,services.

Query parameters

namestring

name used to do filtering

pagestring page=%d

page

limitstring

limit

ascendingstring

sort parameters, e.g. reverse=true

sortBystring

sort parameters, e.g. orderBy=createTime

fieldSelectorstring

field selector used for filtering, you can use the = , == and != operators with field selectors( = and == mean the same thing), e.g. fieldSelector=type=kubernetes.io/dockerconfigjson, multiple separated by comma

Response

ok

totalItemsinteger required

Changes

Changed in 4 of the 25 revisions of this API.7

    • api operation id handleListResources removed and replaced with list-namespaced-resources

      api-operation-id-removed

    • api tag Namespaced Resources added

      api-tag-added

    • api tag Namespaced Resource removed

      api-tag-removed

    • endpoint deprecated

      endpoint-deprecated

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter fieldSelector

      new-optional-request-parameter

    • endpoint added

      endpoint-added

    • api path removed with deprecation

      api-path-removed-with-deprecation

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog