Skip to content
Snippets Groups Projects
get-lists.json 1.56 KiB
Newer Older
Jared Balkman's avatar
Jared Balkman committed
{
  "swagger" : "2.0",
  "info" : {
    "description" : null,
    "version" : "1.0.0",
    "title" : null,
    "termsOfService" : null,
    "contact" : null,
    "license" : null
  },
  "host" : "www.getrave.com",
  "basePath" : "/remoteservices",
  "schemes" : [ "https" ],
  "paths" : {
    "rest/user/{username}/userlists" : {
      "get" : {
        "tags" : [ "get-lists" ],
        "summary" : null,
        "description" : null,
        "operationId" : "get-lists",
        "produces" : [ "application/xml" ],
        "consumes" : [ "application/xml" ],
Jared Balkman's avatar
Jared Balkman committed
        "parameters" : [ {
          "name" : "username",
          "in" : "path",
          "description" : null,
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/get-lists"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "get-lists##listMemberships##userList" : {
      "properties" : {
        "id" : {
          "type" : "number"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "get-lists##listMemberships" : {
      "properties" : {
        "userList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/get-lists##listMemberships##userList"
          }
        }
      }
    },
    "get-lists" : {
      "properties" : {
        "listMemberships" : {
          "$ref" : "#/definitions/get-lists##listMemberships"
        }
      }
    }
  }