kubernetes/api/swagger-spec
Kubernetes Submit Queue 35ffb5c6cf Merge pull request #48921 from smarterclayton/paging_prototype
Automatic merge from submit-queue (batch tested with PRs 50832, 51119, 51636, 48921, 51712)

Alpha list paging implementation

Design in kubernetes/community#896

Support `?limit=NUMBER`, `?continue=CONTINUATIONTOKEN`, and a `continue` field
on ListMeta and pass through to etcd. Perform minor validation as an example.

```
# first out of three
$ curl http://127.0.0.1:8080/api/v1/namespaces?limit=1
{
  "kind": "NamespaceList",
  "apiVersion": "v1",
  "metadata": {
    "selfLink": "/api/v1/namespaces",
    "resourceVersion": "146",
    "next": "ZGVmYXVsdA"
  },
  "items": [
    {
      "metadata": {
        "name": "default",
        "selfLink": "/api/v1/namespaces/default",
        "uid": "f95e1390-6852-11e7-ab03-7831c1b76042",
        "resourceVersion": "4",
        "creationTimestamp": "2017-07-14T05:12:03Z"
      },
      "spec": {
        "finalizers": [
          "kubernetes"
        ]
      },
      "status": {
        "phase": "Active"
      }
    }
  ]
}
...
# last
$ curl "http://127.0.0.1:8080/api/v1/namespaces?limit=1&continue=a3ViZS1wdWJsaWM"
{
  "kind": "NamespaceList",
  "apiVersion": "v1",
  "metadata": {
    "selfLink": "/api/v1/namespaces",
    "resourceVersion": "145"
  },
  "items": [
    {
      "metadata": {
        "name": "kube-system",
        "selfLink": "/api/v1/namespaces/kube-system",
        "uid": "f95e9484-6852-11e7-ab03-7831c1b76042",
        "resourceVersion": "5",
        "creationTimestamp": "2017-07-14T05:12:03Z"
      },
      "spec": {
        "finalizers": [
          "kubernetes"
        ]
      },
      "status": {
        "phase": "Active"
      }
    }
  ]
}
```
2017-09-02 19:26:29 -07:00
..
admissionregistration.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
admissionregistration.k8s.io_v1alpha1.json generated: api changes 2017-09-01 10:49:56 -04:00
api.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apis.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apps.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apps_v1alpha1.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apps_v1beta1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
apps_v1beta2.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
authentication.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
authentication.k8s.io_v1.json generated: api changes 2017-09-01 10:49:56 -04:00
authentication.k8s.io_v1beta1.json generated: api changes 2017-09-01 10:49:56 -04:00
authorization.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
authorization.k8s.io_v1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
authorization.k8s.io_v1beta1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
autoscaling.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
autoscaling_v1.json generated: api changes 2017-09-01 10:49:56 -04:00
autoscaling_v2alpha1.json generated: api changes 2017-09-01 10:49:56 -04:00
batch.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
batch_v1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
batch_v1beta1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
batch_v2alpha1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
certificates.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
certificates.k8s.io_v1beta1.json generated: api changes 2017-09-01 10:49:56 -04:00
extensions.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
extensions_v1beta1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
logs.json Update generated proto and swagger docs 2016-09-12 18:47:03 -07:00
networking.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
networking.k8s.io_v1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
policy.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
policy_v1alpha1.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
policy_v1beta1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
rbac.authorization.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
rbac.authorization.k8s.io_v1.json generated: api changes 2017-09-01 10:49:56 -04:00
rbac.authorization.k8s.io_v1alpha1.json generated: api changes 2017-09-01 10:49:56 -04:00
rbac.authorization.k8s.io_v1beta1.json generated: api changes 2017-09-01 10:49:56 -04:00
resourceListing.json Generated changes for CronJobs in batch/v1beta1 2017-08-16 08:42:21 +02:00
scheduling.k8s.io.json autogenerated files 2017-07-18 17:47:57 -07:00
scheduling.k8s.io_v1alpha1.json generated: api changes 2017-09-01 10:49:56 -04:00
settings.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
settings.k8s.io_v1alpha1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
storage.authorization.k8s.io_v1beta1.json generated code for moving StorageClass 2016-09-06 08:41:17 -04:00
storage.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
storage.k8s.io_v1.json generated: api changes 2017-09-01 10:49:56 -04:00
storage.k8s.io_v1beta1.json generated: api changes 2017-09-01 10:49:56 -04:00
v1.json Merge pull request #48921 from smarterclayton/paging_prototype 2017-09-02 19:26:29 -07:00
version.json update autogenerated 2016-08-18 14:14:52 -07:00