Skip to content

Instantly share code, notes, and snippets.

@sandeepm96
Last active July 3, 2017 22:32
Show Gist options
  • Save sandeepm96/a824a6d0e643811389a6bf212e30a381 to your computer and use it in GitHub Desktop.
Save sandeepm96/a824a6d0e643811389a6bf212e30a381 to your computer and use it in GitHub Desktop.
Postman collection for GraphSpace RESTful APIs
{
"variables": [],
"info": {
"name": "GraphSpace",
"_postman_id": "03a2f47b-b1cc-0d0f-f52c-37b841220016",
"description": "Collection for the GraphSpace REST APIs.",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "/graphs",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs?owner_email=user1@example.com&limit=3",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /graphs\n\nList all Graphs matching query criteria, if provided; otherwise list all Graph\n\nParams:-\n1. name (string)\n2. is_public (integer)\n3. owner_email (string)\n4. member_email (string)\n5. limit (integer: default-20)\n6. offset (integer: default-0)\n7. names (array of strings)\n Search for graphs with given list of names. In order to search for graphs with given name as a substring, wrap the name with percentage symbol. For example, %xyz% will search for all graphs with xyz in their name.\n8. nodes (array of strings)\n Search for graphs with given given list of node names. In order to search for graphs with given node name as a substring, wrap the name with percentage symbol. For example, %xyz% will search for all graphs with xyz in their node name.\n9. edges (array of strings)\n Search for graphs with the edge between given given list of node names separated by colon. In order to search for graphs with given edge as a substring, wrap the name of the nodes with percentage symbol. For example, %xyz%:%abc% will search for all graphs with edge between nodes with 'xyz' and 'abc' in their node names.\n10. tags (array of strings)\n Search for graphs with the given given list of tag names. In order to search for graphs with given tag as a substring, wrap the name of the tag with percentage symbol. For example, %xyz% will search for all graphs with 'xyz' in their tag names.\n11. order (string)\n Defines the column sort order, can only be 'asc' or 'desc'.\n12. sort (string)\n Defines which column will be sorted."
},
"response": []
},
{
"name": "/graphs",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"style_json\": {\r\n \"style\": [\r\n {\r\n \"style\": {\r\n \"border-color\": \"#888\",\r\n \"border-width\": \"2px\",\r\n \"height\": \"50px\",\r\n \"width\": \"50px\",\r\n \"shape\": \"ellipse\",\r\n \"background-blacken\": \"0.1\",\r\n \"text-halign\": \"center\",\r\n \"label\": \"DCC\",\r\n \"text-valign\": \"center\",\r\n \"background-color\": \"yellow\"\r\n },\r\n \"selector\": \"node[name='P4314611']\"\r\n },\r\n {\r\n \"style\": {\r\n \"text-outline-color\": \"#888\",\r\n \"color\": \"black\",\r\n \"text-outline-width\": \"2px\",\r\n \"border-color\": \"black\",\r\n \"text-valign\": \"center\",\r\n \"border-width\": \"5px\",\r\n \"label\": \"This is an example\\n of how to use new lines for the content of\\n a node.\",\r\n \"width\": \"150px\",\r\n \"shape\": \"ellipse\",\r\n \"text-wrap\": \"wrap\",\r\n \"background-blacken\": \"0\",\r\n \"text-halign\": \"center\",\r\n \"height\": \"150px\",\r\n \"border-style\": \"double\",\r\n \"background-color\": \"red\"\r\n },\r\n \"selector\": \"node[name='P0810711']\"\r\n },\r\n {\r\n \"style\": {\r\n \"line-color\": \"blue\",\r\n \"target-arrow-shape\": \"triangle\",\r\n \"source-arrow-color\": \"yellow\",\r\n \"width\": \"12px\",\r\n \"curve-style\": \"bezier\",\r\n \"line-style\": \"dotted\"\r\n },\r\n \"selector\": \"edge[name='P4314611-P0810711']\"\r\n }\r\n ],\r\n \"target_cytoscapejs_version\": \"~2.7\",\r\n \"generated_by\": \"graphspace-2.0.0\",\r\n \"format_version\": \"1.0\"\r\n },\r\n \"name\": \"My first graph\",\r\n \"tags\": [\r\n \"first_graph\"\r\n ],\r\n \"is_public\": 0,\r\n \"owner_email\": \"user1@example.com\",\r\n \"default_layout_id\": 0,\r\n \"graph_json\": {\r\n \"elements\": {\r\n \"nodes\": [\r\n {\r\n \"position\": {\r\n \"y\": 277.5,\r\n \"x\": 297.5\r\n },\r\n \"data\": {\r\n \"k\": 0,\r\n \"id\": \"P4314611\",\r\n \"name\": \"P4314611\",\r\n \"label\": \"\"\r\n }\r\n },\r\n {\r\n \"position\": {\r\n \"y\": 277.5,\r\n \"x\": 892.5\r\n },\r\n \"data\": {\r\n \"k\": 0,\r\n \"id\": \"P0810711\",\r\n \"name\": \"P0810711\",\r\n \"label\": \"\"\r\n }\r\n }\r\n ],\r\n \"edges\": [\r\n {\r\n \"data\": {\r\n \"target\": \"P0810711\",\r\n \"k\": 0,\r\n \"source\": \"P4314611\",\r\n \"is_directed\": 1,\r\n \"id\": \"P4314611-P0810711\",\r\n \"name\": \"P4314611-P0810711\"\r\n },\r\n \"style\": {\r\n \"line-color\": \"blue\",\r\n \"target-arrow-shape\": \"triangle\",\r\n \"source-arrow-color\": \"yellow\",\r\n \"width\": \"12px\",\r\n \"curve-style\": \"bezier\",\r\n \"line-style\": \"dotted\"\r\n }\r\n }\r\n ]\r\n },\r\n \"data\": {\r\n \"description\": \"Description of graph.. can also point to an image hosted elsewhere\",\r\n \"name\": \"My first graph\",\r\n \"tags\": [\r\n \"tutorial\"\r\n ]\r\n }\r\n }\r\n}"
},
"description": "POST Request for endpoint /graphs\n\nCreate a new Graph.\n\nBody\n==================================\nMedia type: application/json\nType: object\nProperties:\n1. id: (integer)\n2. name:(string)\n3. owner_email: (string)\n4. is_public: (integer)\n5. created_at: (string)\n6. updated_at: (string)\n7. tags: (array of strings)\n8. style_json: (object)\n9. graph_json: (object)\n10. default_layout_id: (integer)\n"
},
"response": []
},
{
"name": "/graphs/{id}",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21324",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /graphs/{id}\n\nGet a graph by id. Returns error if graph doesn't exist or the user is not authorised to access the graph."
},
"response": []
},
{
"name": "/graphs/{id}",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21462",
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"style_json\": {\r\n \"style\": [\r\n {\r\n \"style\": {\r\n \"border-color\": \"#888\",\r\n \"border-width\": \"2px\",\r\n \"height\": \"50px\",\r\n \"width\": \"50px\",\r\n \"shape\": \"ellipse\",\r\n \"background-blacken\": \"0.1\",\r\n \"text-halign\": \"center\",\r\n \"label\": \"DCC\",\r\n \"text-valign\": \"center\",\r\n \"background-color\": \"yellow\"\r\n },\r\n \"selector\": \"node[name='P4314611']\"\r\n },\r\n {\r\n \"style\": {\r\n \"text-outline-color\": \"#888\",\r\n \"color\": \"black\",\r\n \"text-outline-width\": \"2px\",\r\n \"border-color\": \"black\",\r\n \"text-valign\": \"center\",\r\n \"border-width\": \"5px\",\r\n \"label\": \"This is an example\\n of how to use new lines for the content of\\n a node.\",\r\n \"width\": \"150px\",\r\n \"shape\": \"ellipse\",\r\n \"text-wrap\": \"wrap\",\r\n \"background-blacken\": \"0\",\r\n \"text-halign\": \"center\",\r\n \"height\": \"150px\",\r\n \"border-style\": \"double\",\r\n \"background-color\": \"red\"\r\n },\r\n \"selector\": \"node[name='P0810711']\"\r\n },\r\n {\r\n \"style\": {\r\n \"line-color\": \"blue\",\r\n \"target-arrow-shape\": \"triangle\",\r\n \"source-arrow-color\": \"yellow\",\r\n \"width\": \"12px\",\r\n \"curve-style\": \"bezier\",\r\n \"line-style\": \"dotted\"\r\n },\r\n \"selector\": \"edge[name='P4314611-P0810711']\"\r\n }\r\n ],\r\n \"target_cytoscapejs_version\": \"~2.7\",\r\n \"generated_by\": \"graphspace-2.0.0\",\r\n \"format_version\": \"1.0\"\r\n },\r\n \"name\": \"My first graph\",\r\n \"tags\": [\r\n \"first_graph\"\r\n ],\r\n \"is_public\": 0,\r\n \"owner_email\": \"user1@example.com\",\r\n \"default_layout_id\": 0,\r\n \"graph_json\": {\r\n \"elements\": {\r\n \"nodes\": [\r\n {\r\n \"position\": {\r\n \"y\": 277.5,\r\n \"x\": 297.5\r\n },\r\n \"data\": {\r\n \"k\": 0,\r\n \"id\": \"P4314611\",\r\n \"name\": \"P4314611\",\r\n \"label\": \"\"\r\n }\r\n },\r\n {\r\n \"position\": {\r\n \"y\": 277.5,\r\n \"x\": 892.5\r\n },\r\n \"data\": {\r\n \"k\": 0,\r\n \"id\": \"P0810711\",\r\n \"name\": \"P0810711\",\r\n \"label\": \"\"\r\n }\r\n }\r\n ],\r\n \"edges\": [\r\n {\r\n \"data\": {\r\n \"target\": \"P0810711\",\r\n \"k\": 0,\r\n \"source\": \"P4314611\",\r\n \"is_directed\": 1,\r\n \"id\": \"P4314611-P0810711\",\r\n \"name\": \"P4314611-P0810711\"\r\n },\r\n \"style\": {\r\n \"line-color\": \"blue\",\r\n \"target-arrow-shape\": \"triangle\",\r\n \"source-arrow-color\": \"yellow\",\r\n \"width\": \"12px\",\r\n \"curve-style\": \"bezier\",\r\n \"line-style\": \"dotted\"\r\n }\r\n }\r\n ]\r\n },\r\n \"data\": {\r\n \"description\": \"Description of graph.. can also point to an image hosted elsewhere\",\r\n \"name\": \"My first graph\",\r\n \"tags\": [\r\n \"tutorial\"\r\n ]\r\n }\r\n }\r\n}"
},
"description": "PUT Request for endpoint /graphs/{id}\n\nUpdate a graph by id. Returns error if graph doesn't exist or the user is not authorised to access the graph.\n\nBody\n==================================\nMedia type: application/json\nType: object\nProperties:\n1. id: (integer)\n2. name:(string)\n3. owner_email: (string)\n4. is_public: (integer)\n5. created_at: (string)\n6. updated_at: (string)\n7. tags: (array of strings)\n8. style_json: (object)\n9. graph_json: (object)\n10. default_layout_id: (integer)\n"
},
"response": []
},
{
"name": "/graphs/{id}",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21462",
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {},
"description": "DELETE Request for endpoint /graphs/{id}\n\nDelete a graph by id. Returns error if graph doesn't exist or the user is not authorised to access the graph."
},
"response": []
},
{
"name": "/graphs/{id}/layouts",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21324/layouts?is_shared=1",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /graphs/{id}/layouts\n\nList all Graph Layouts matching query criteria, if provided; otherwise list all Graph Layouts."
},
"response": []
},
{
"name": "/graphs/{id}/layouts",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21462/layouts/",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"dummy\",\r\n \"is_shared\": 1,\r\n \"graph_id\": 21462,\r\n \"owner_email\": \"user1@example.com\",\r\n \"style_json\": {\r\n \"style\": [\r\n {\r\n \"selector\": \"node[name='P4314611']\",\r\n \"style\": {\r\n \"border-color\": \"#888\",\r\n \"text-halign\": \"center\",\r\n \"text-valign\": \"center\",\r\n \"border-width\": \"2px\",\r\n \"height\": \"50px\",\r\n \"width\": \"50px\",\r\n \"shape\": \"ellipse\",\r\n \"background-blacken\": \"0.1\",\r\n \"background-color\": \"yellow\"\r\n }\r\n },\r\n {\r\n \"selector\": \"node[name='P0810711']\",\r\n \"style\": {\r\n \"text-halign\": \"center\",\r\n \"text-valign\": \"center\",\r\n \"text-outline-color\": \"#888\",\r\n \"text-outline-width\": \"2px\",\r\n \"border-color\": \"black\",\r\n \"border-width\": \"5px\",\r\n \"height\": \"150px\",\r\n \"shape\": \"ellipse\",\r\n \"color\": \"black\",\r\n \"border-style\": \"double\",\r\n \"text-wrap\": \"wrap\",\r\n \"background-blacken\": \"0\",\r\n \"width\": \"150px\",\r\n \"background-color\": \"red\"\r\n }\r\n },\r\n {\r\n \"selector\": \"edge[name='P4314611-P0810711']\",\r\n \"style\": {\r\n \"curve-style\": \"bezier\",\r\n \"line-style\": \"dotted\",\r\n \"width\": \"12px\",\r\n \"line-color\": \"blue\",\r\n \"source-arrow-color\": \"yellow\",\r\n \"target-arrow-shape\": \"triangle\"\r\n }\r\n }\r\n ]\r\n },\r\n \"positions_json\": {\r\n \"P4314611\": {\r\n \"y\": 87,\r\n \"x\": 35\r\n },\r\n \"P0810711\": {\r\n \"y\": 87.89306358381505,\r\n \"x\": 208.18593448940268\r\n }\r\n }\r\n}"
},
"description": "POST Request for endpoint /graphs/{id}/layouts\n\nCreate a new Graph Layout.\n\nBody\n==================================\nMedia type: application/json\nType: object\nProperties:\n1. name:(string)\n2. graph_id: (integer)\n3. owner_email: (string)\n4. is_shared: (integer)\n5. positions_json: (object)\n6. style_json: (object)\n"
},
"response": []
},
{
"name": "/graphs/{id}/layouts/{layout_id}",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21477/layouts/1094",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /graphs/{id}/layouts/{layout_id)\n\nGet a Graph Layout by layout id.\n"
},
"response": []
},
{
"name": "/graphs/{id}/layouts/{layout_id}",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21477/layouts/1094",
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"dummy\",\r\n \"is_shared\": 1,\r\n \"style_json\": {\r\n \"style\": [\r\n {\r\n \"selector\": \"node[name='P4314611']\",\r\n \"style\": {\r\n \"border-color\": \"#888\",\r\n \"text-halign\": \"center\",\r\n \"text-valign\": \"center\",\r\n \"border-width\": \"2px\",\r\n \"height\": \"50px\",\r\n \"width\": \"50px\",\r\n \"shape\": \"ellipse\",\r\n \"background-blacken\": \"0.1\",\r\n \"background-color\": \"yellow\"\r\n }\r\n },\r\n {\r\n \"selector\": \"node[name='P0810711']\",\r\n \"style\": {\r\n \"text-halign\": \"center\",\r\n \"text-valign\": \"center\",\r\n \"text-outline-color\": \"#888\",\r\n \"text-outline-width\": \"2px\",\r\n \"border-color\": \"black\",\r\n \"border-width\": \"5px\",\r\n \"height\": \"150px\",\r\n \"shape\": \"ellipse\",\r\n \"color\": \"black\",\r\n \"border-style\": \"double\",\r\n \"text-wrap\": \"wrap\",\r\n \"background-blacken\": \"0\",\r\n \"width\": \"150px\",\r\n \"background-color\": \"red\"\r\n }\r\n },\r\n {\r\n \"selector\": \"edge[name='P4314611-P0810711']\",\r\n \"style\": {\r\n \"curve-style\": \"bezier\",\r\n \"line-style\": \"dotted\",\r\n \"width\": \"12px\",\r\n \"line-color\": \"blue\",\r\n \"source-arrow-color\": \"yellow\",\r\n \"target-arrow-shape\": \"triangle\"\r\n }\r\n }\r\n ]\r\n },\r\n \"positions_json\": {\r\n \"P4314611\": {\r\n \"y\": 87,\r\n \"x\": 35\r\n },\r\n \"P0810711\": {\r\n \"y\": 87.89306358381505,\r\n \"x\": 208.18593448940268\r\n }\r\n }\r\n}"
},
"description": "PUT Request for endpoint /graphs/{id}/layouts/{layout_id)\n\nUpdate a Graph Layout by layout id.\n\nBody\n==================================\nMedia type: application/json\nType: object\nProperties:\n1. name:(string)\n2. graph_id: (integer)\n3. owner_email: (string)\n4. is_shared: (integer)\n5. positions_json: (object)\n6. style_json: (object)"
},
"response": []
},
{
"name": "/graphs/{id}/layouts/{layout_id}",
"request": {
"url": "http://www.graphspace.org/api/v1/graphs/21477/layouts/1094",
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "DELETE Request for endpoint /graphs/{id}/layouts/{layout_id)\n\nDelete a Graph Layout by layout id.\n"
},
"response": []
},
{
"name": "/groups",
"request": {
"url": "http://www.graphspace.org/api/v1/groups?owner_email=user1@example.com",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /groups\n\nList all Groups matching the query criteria, if provided; otherwise list all Groups.\n\nParams:-\n1. name (string)\n2. owner_email (string)\n3. member_email (string)\n4. description (string)\n Search for groups with given description. In order to search for groups with given description as a substring, wrap the description with percentage symbol. For example, %xyz% will search for all groups with xyz in their description.\n5. limit (integer: default-20)\n6. offset (integer: default-0)\n7. order (string)\n Defines the column sort order, can only be 'asc' or 'desc'.\n8. sort (string)\n Defines which column will be sorted."
},
"response": []
},
{
"name": "/groups",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "name",
"value": "My sample group",
"description": "",
"type": "text"
},
{
"key": "owner_email",
"value": "user1@example.com",
"description": "",
"type": "text"
},
{
"key": "description",
"value": "dummy group",
"description": "",
"type": "text"
}
]
},
"description": "POST Request for endpoint /groups\n\nCreate a Group.\n\nBody\n==================================\nMedia type: application/x-www-form-urlencoded\nType: object\nProperties:\n1. name (string)\n2. owner_email (string)\n3. description (string)"
},
"response": []
},
{
"name": "/groups/{id}",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /groups/{id}\n\nGet Group by id.\n"
},
"response": []
},
{
"name": "/groups/{id}",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/100",
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "description",
"value": "sample group",
"description": "",
"type": "text"
},
{
"key": "name",
"value": "My sample group",
"description": "",
"type": "text"
}
]
},
"description": "PUT Request for endpoint /groups/{id}\n\nUpdate Group by id.\n\nBody\n==================================\nMedia type: application/x-www-form-urlencoded\nType: object\nProperties:\n1. name (string)\n2. description (string)"
},
"response": []
},
{
"name": "/groups/{id}",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/100",
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "DELETE Request for endpoint /groups/{id}\n\nDelete Group by id.\n"
},
"response": []
},
{
"name": "/groups/{id}/graphs",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38/graphs",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /groups/{id}/graphs\n\nGet Graphs of a Group.\n"
},
"response": []
},
{
"name": "/groups/{id}/graphs",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38/graphs",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "graph_id",
"value": "21743",
"description": "",
"type": "text"
}
]
},
"description": "POST Request for endpoint /groups/{id}/graphs\n\nAdd a graph to a Group.\n\nBody\n==================================\nMedia type: application/x-www-form-urlencoded\nType: object\nProperties:\n1. graph_id (string)"
},
"response": []
},
{
"name": "/groups/{id}/graphs/{graph_id}",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38/graphs/21743",
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "DELETE Request for endpoint /groups/{id}/graphs/{graph_id}\n\nDelete Group Graph by id.\n"
},
"response": []
},
{
"name": "/groups/{id}/members",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38/members",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "GET Request for endpoint /groups/{id}/members\n\nGet Members of a Group.\n"
},
"response": []
},
{
"name": "/groups/{id}/members",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38/members",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "member_email",
"value": "user3@example.com",
"description": "",
"type": "text"
}
]
},
"description": "POST Request for endpoint /groups/{id}/members\n\nAdd a Member to a Group.\n\nBody\n==================================\nMedia type: application/x-www-form-urlencoded\nType: object\nProperties:\n1. member_email (string)"
},
"response": []
},
{
"name": "/groups/{id}/members/{member_id}",
"request": {
"url": "http://www.graphspace.org/api/v1/groups/38/members/47",
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": ""
},
"description": "DELETE Request for endpoint /groups/{id}/members/{member_id}\n\nDelete Group Member by id.\n"
},
"response": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment