Skip to content

Instantly share code, notes, and snippets.

View tejaswigk's full-sized avatar

Tejaswi Kumar Goudru tejaswigk

  • InMoment Inc
  • Dallas, TX
View GitHub Profile
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
{"apiVersion":"5.0","swaggerVersion":"1.2","basePath":"http://localhost:11090/otmmapi","resourcePath":"/{version: v(5)}/collections","apis":[{"path":"/{version: v(5)}/collections","operations":[{"method":"GET","summary":"Get list of collections for current user","notes":"Get list of collections for current user","type":"collection_resource","nickname":"getUserCollections","produces":["application/json"],"parameters":[{"name":"version","required":true,"type":"string","paramType":"path","allowMultiple":false},{"name":"sort","description":"Comma separated list of sort options. Sort options can optionally be prepended with 'asc_' or 'desc_' to specify ascending or descending sort (default is ascending).","required":false,"type":"string","paramType":"query","allowMultiple":false},{"name":"after","description":"Retrieve collection starting at the position after the specified value. If neither the <b>after</b> or <b>before</b> parameters are specified this is equivlent to <b>after=0</b> and will retrieve items start