Created
December 10, 2019 17:40
-
-
Save sancarn/af30125b7ed491adea200e0d74f34061 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "GISSTOnline", | |
"description": "GISSTOnline Connector", | |
"version": "1.0" | |
}, | |
"host": "www.arcgis.com", | |
"basePath": "/sharing/rest/", | |
"schemes": [ | |
"https" | |
], | |
"consumes": [], | |
"produces": [], | |
"paths": { | |
"/content/users/{username}": { | |
"get": { | |
"responses": { | |
"default": { | |
"description": "default", | |
"schema": { | |
"type": "object", | |
"properties": { | |
"username": { | |
"type": "string", | |
"description": "username" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32", | |
"description": "total" | |
}, | |
"start": { | |
"type": "integer", | |
"format": "int32", | |
"description": "start" | |
}, | |
"num": { | |
"type": "integer", | |
"format": "int32", | |
"description": "num" | |
}, | |
"nextStart": { | |
"type": "integer", | |
"format": "int32", | |
"description": "nextStart" | |
}, | |
"currentFolder": { | |
"type": "string", | |
"description": "currentFolder" | |
}, | |
"items": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "id" | |
}, | |
"owner": { | |
"type": "string", | |
"description": "owner" | |
}, | |
"created": { | |
"type": "string", | |
"description": "created" | |
}, | |
"modified": { | |
"type": "string", | |
"description": "modified" | |
}, | |
"guid": { | |
"type": "string", | |
"description": "guid" | |
}, | |
"name": { | |
"type": "string", | |
"description": "name" | |
}, | |
"title": { | |
"type": "string", | |
"description": "title" | |
}, | |
"type": { | |
"type": "string", | |
"description": "type" | |
}, | |
"typeKeywords": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
}, | |
"description": "typeKeywords" | |
}, | |
"description": { | |
"type": "string", | |
"description": "description" | |
}, | |
"tags": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
}, | |
"description": "tags" | |
}, | |
"snippet": { | |
"type": "string", | |
"description": "snippet" | |
}, | |
"thumbnail": { | |
"type": "string", | |
"description": "thumbnail" | |
}, | |
"extent": { | |
"type": "array", | |
"items": { | |
"type": "array", | |
"items": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"description": "extent" | |
}, | |
"spatialReference": { | |
"type": "string", | |
"description": "spatialReference" | |
}, | |
"accessInformation": { | |
"type": "string", | |
"description": "accessInformation" | |
}, | |
"licenseInfo": { | |
"type": "string", | |
"description": "licenseInfo" | |
}, | |
"culture": { | |
"type": "string", | |
"description": "culture" | |
}, | |
"url": { | |
"type": "string", | |
"description": "url" | |
}, | |
"access": { | |
"type": "string", | |
"description": "access" | |
}, | |
"size": { | |
"type": "string", | |
"description": "size" | |
}, | |
"numComments": { | |
"type": "integer", | |
"format": "int32", | |
"description": "numComments" | |
}, | |
"numRatings": { | |
"type": "integer", | |
"format": "int32", | |
"description": "numRatings" | |
}, | |
"avgRating": { | |
"type": "integer", | |
"format": "int32", | |
"description": "avgRating" | |
}, | |
"numViews": { | |
"type": "integer", | |
"format": "int32", | |
"description": "numViews" | |
} | |
} | |
}, | |
"description": "items" | |
}, | |
"folders": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"username": { | |
"type": "string", | |
"description": "username" | |
}, | |
"id": { | |
"type": "string", | |
"description": "id" | |
}, | |
"title": { | |
"type": "string", | |
"description": "title" | |
}, | |
"created": { | |
"type": "string", | |
"description": "created" | |
} | |
} | |
}, | |
"description": "folders" | |
} | |
} | |
}, | |
"headers": { | |
"Content-Type": { | |
"description": "Content-Type", | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"summary": "Read", | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "path", | |
"required": true, | |
"type": "string", | |
"description": "The username of the user to find the items of", | |
"x-ms-visibility": "important" | |
} | |
], | |
"operationId": "GetUserItems", | |
"x-ms-visibility": "important" | |
} | |
}, | |
"/content/users/{username}/{folder}": { | |
"get": { | |
"responses": { | |
"default": { | |
"description": "default", | |
"schema": {} | |
} | |
}, | |
"summary": "Read", | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "path", | |
"required": true, | |
"type": "string", | |
"description": "The username of the user to find the items of", | |
"x-ms-visibility": "important" | |
}, | |
{ | |
"name": "folder", | |
"in": "path", | |
"required": true, | |
"type": "string", | |
"description": "The folder path to find items in. E.G. \"my/sub/folder/path\".", | |
"x-ms-visibility": "important" | |
} | |
], | |
"operationId": "GetUserItemsEx", | |
"x-ms-visibility": "important" | |
} | |
} | |
}, | |
"definitions": {}, | |
"parameters": {}, | |
"responses": {}, | |
"securityDefinitions": { | |
"oauth2_auth": { | |
"type": "oauth2", | |
"flow": "accessCode", | |
"authorizationUrl": "https://www.arcgis.com/sharing/rest/oauth2/authorize", | |
"tokenUrl": "http://www.arcgis.com/sharing/rest/oauth2/token", | |
"scopes": {} | |
} | |
}, | |
"security": [ | |
{ | |
"oauth2_auth": [] | |
} | |
], | |
"tags": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment