insomnia-importers
Version:
Various data importers for Insomnia
102 lines (101 loc) • 3.18 kB
JSON
{
"__export_date": "2020-05-13T23:55:24.712Z",
"__export_format": 4,
"__export_source": "insomnia.importers:v0.1.0",
"_type": "export",
"resources": [
{
"_id": "__WORKSPACE_ID__",
"_type": "workspace",
"description": "",
"name": "Endpoint Security 1.2",
"parentId": null
},
{
"_id": "__BASE_ENVIRONMENT_ID__",
"_type": "environment",
"data": {
"base_url": "{{ scheme }}://{{ host }}{{ base_path }}"
},
"name": "Base environment",
"parentId": "__WORKSPACE_ID__"
},
{
"_id": "env___BASE_ENVIRONMENT_ID___sub",
"_type": "environment",
"data": {
"base_path": "/v1",
"host": "api.server.test",
"oauth2ClientId": "clientId",
"oauth2ClientSecret": "clientSecret",
"oauth2RedirectUrl": "http://localhost/",
"scheme": "https"
},
"name": "OpenAPI env",
"parentId": "__BASE_ENVIRONMENT_ID__"
},
{
"_id": "req___WORKSPACE_ID__028b5fb7",
"_type": "request",
"authentication": {
"clientId": "{{ oauth2ClientId }}",
"clientSecret": "{{ oauth2ClientSecret }}",
"accessTokenUrl": "https://api.server.test/v1/token",
"authorizationUrl": "https://api.server.test/v1/auth",
"grantType": "authorization_code",
"redirectUrl": "{{ oauth2RedirectUrl }}",
"scope": "",
"type": "oauth2"
},
"body": {},
"headers": [],
"method": "GET",
"name": "/oauth2/authorization-code",
"parameters": [],
"parentId": "__WORKSPACE_ID__",
"url": "{{ base_url }}/oauth2/authorization-code"
},
{
"_id": "req___WORKSPACE_ID__cbd0a0fa",
"_type": "request",
"authentication": {
"clientId": "{{ oauth2ClientId }}",
"clientSecret": "{{ oauth2ClientSecret }}",
"accessTokenUrl": "https://api.server.test/v1/token",
"authorizationUrl": "https://api.server.test/v1/auth",
"grantType": "authorization_code",
"redirectUrl": "{{ oauth2RedirectUrl }}",
"scope": "read:something",
"type": "oauth2"
},
"body": {},
"headers": [],
"method": "GET",
"name": "/oauth2/authorization-code-read",
"parameters": [],
"parentId": "__WORKSPACE_ID__",
"url": "{{ base_url }}/oauth2/authorization-code-read"
},
{
"_id": "req___WORKSPACE_ID__d7972b84",
"_type": "request",
"authentication": {
"clientId": "{{ oauth2ClientId }}",
"clientSecret": "{{ oauth2ClientSecret }}",
"accessTokenUrl": "https://api.server.test/v1/token",
"authorizationUrl": "https://api.server.test/v1/auth",
"grantType": "authorization_code",
"redirectUrl": "{{ oauth2RedirectUrl }}",
"scope": "read:something write:something",
"type": "oauth2"
},
"body": {},
"headers": [],
"method": "GET",
"name": "/oauth2/authorization-code-read-write",
"parameters": [],
"parentId": "__WORKSPACE_ID__",
"url": "{{ base_url }}/oauth2/authorization-code-read-write"
}
]
}