insomnia-importers
Version:
Various data importers for Insomnia
187 lines (186 loc) • 6.01 kB
JSON
{
"__export_date": "2022-04-26T16:04:02.753Z",
"__export_format": 4,
"__export_source": "insomnia.importers:v0.1.0",
"_type": "export",
"resources": [
{
"_id": "__GRP_1__",
"_type": "request_group",
"description": "",
"environment": {},
"name": "Timing API",
"parentId": "__WORKSPACE_ID__"
},
{
"_id": "__GRP_2__",
"_type": "request_group",
"description": "",
"environment": {},
"name": "Projects",
"parentId": "__GRP_1__"
},
{
"_id": "__REQ_1__",
"_type": "request",
"authentication": {
"disabled": false,
"prefix": "",
"token": "{{token}}",
"type": "bearer"
},
"body": {
"mimeType": "application/json",
"text": "[]"
},
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"method": "GET",
"name": "Return the complete project hierarchy.",
"parameters": [],
"parentId": "__GRP_2__",
"url": ""
},
{
"_id": "__REQ_2__",
"_type": "request",
"authentication": {
"accessKeyId": "<accessKeyId>",
"disabled": false,
"region": "<region>",
"secretAccessKey": "",
"service": "<service>",
"type": "iam"
},
"body": {
"mimeType": "application/json",
"text": "[]"
},
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"method": "GET",
"name": "Return a list containing all projects.",
"parameters": [],
"parentId": "__GRP_2__",
"url": ""
},
{
"_id": "__REQ_3__",
"_type": "request",
"authentication": {
"disabled": false,
"password": "abc123",
"type": "basic",
"username": "john@example.com"
},
"body": {
"mimeType": "application/json",
"text": "{\n \"title\": \"Acme Inc.\",\n \"parent\": \"\\/projects\\/1\",\n \"color\": \"#FF0000\",\n \"productivity_score\": 1,\n \"is_archived\": false\n}"
},
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"method": "POST",
"name": "Create a new project.",
"parameters": [],
"parentId": "__GRP_2__",
"url": ""
},
{
"_id": "__REQ_4__",
"_type": "request",
"authentication": {
"disabled": false,
"password": "",
"type": "digest",
"username": "Username"
},
"body": {
"mimeType": "application/json",
"text": "[]"
},
"description": "<br>The following attributes will be returned:\n\n - `self`: A reference to the entity itself, relative to the API root.\n - `title`: The project's title.\n - `title_chain`: An array containing the title of the project and all its ancestors. Example: `[\"Parent\", \"Child\"]`\n - `color`: The project's color, in hexadecimal format (`#RRGGBB`). Example: `#FF0000`\n - `productivity_score`: The project's productivity rating, between -1 (very unproductive) and 1 (very productive). Example: `1`\n - `is_archived`: Whether the project has been archived. Defaults to false. Example: `false`\n - `parent`: A reference to the enclosing project.\n - `children`: The project's children.\n\n<aside class=\"notice\">\nChild projects are provided as references; i.e. they only contain the <code>self</code> attribute.\n</aside>",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"method": "GET",
"name": "Display the specified project.",
"parameters": [],
"parentId": "__GRP_2__",
"url": ""
},
{
"_id": "__REQ_5__",
"_type": "request",
"authentication": {
"callback": "Callback%20URL",
"consumerKey": "Consumer%20Key",
"consumerSecret": "",
"disabled": false,
"nonce": "Nonce",
"privateKey": "",
"realm": "Realm",
"signatureMethod": "HMAC-SHA1",
"timestamp": "Timestamp",
"tokenKey": "Access%20Token",
"tokenSecret": "",
"type": "oauth1",
"verifier": "Verifier",
"version": "Version"
},
"body": {
"mimeType": "application/json",
"text": "{\n \"title\": \"Acme Inc.\",\n \"color\": \"#FF0000\",\n \"productivity_score\": 1,\n \"is_archived\": false\n}"
},
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.\n\n<aside class=\"notice\">\nOmitted fields will not be updated, even when using the `PUT` method.\n</aside>\n\n<aside class=\"notice\">\nChanging a project's parent or children is currently not possible.\n</aside>",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"method": "PUT",
"name": "Update the specified project.",
"parameters": [],
"parentId": "__GRP_2__",
"url": ""
}
]
}