mirror of
https://github.com/foss42/apidash.git
synced 2025-12-05 12:34:26 +08:00
187 lines
5.7 KiB
Dart
187 lines
5.7 KiB
Dart
import 'package:insomnia_collection/models/models.dart';
|
|
|
|
var collectionApiDashModel = InsomniaCollection(
|
|
type: "export",
|
|
exportFormat: 4,
|
|
exportDate: "2025-01-05T13:05:11.752Z",
|
|
exportSource: "insomnia.desktop.app:v10.3.0",
|
|
resources: [
|
|
Resource(
|
|
id: "req_15f4d64ca3084a92a0680e29a958c9da",
|
|
parentId: "fld_a2e9704c49034e36a05cdb3a233f6ebd",
|
|
modified: 1736112258432,
|
|
created: 1736111908438,
|
|
url: "https://food-service-backend.onrender.com/api/users/",
|
|
name: "get-with-params",
|
|
description: "",
|
|
method: "GET",
|
|
body: Body(),
|
|
parameters: [
|
|
Parameter(
|
|
id: "pair_bf0ae4f4280e440a8a591b64fd4ec4f4",
|
|
name: "user_id",
|
|
value: "34",
|
|
description: "",
|
|
disabled: false,
|
|
)
|
|
],
|
|
headers: [
|
|
Header(
|
|
name: "User-Agent",
|
|
value: "insomnia/10.3.0",
|
|
)
|
|
],
|
|
authentication: {},
|
|
metaSortKey: -1736111908438,
|
|
isPrivate: false,
|
|
pathParameters: [],
|
|
afterResponseScript: null,
|
|
settingSendCookies: true,
|
|
settingStoreCookies: true,
|
|
settingDisableRenderRequestBody: false,
|
|
settingEncodeUrl: true,
|
|
settingRebuildPath: true,
|
|
settingFollowRedirects: "global",
|
|
type: "request",
|
|
),
|
|
Resource(
|
|
id: "fld_a2e9704c49034e36a05cdb3a233f6ebd",
|
|
parentId: "wrk_fde7dcc4f5064b74b0fd749cbf8f684a",
|
|
modified: 1736082089076,
|
|
created: 1736082089076,
|
|
name: "APIDash-APItests",
|
|
description: "These are test endpoints for API Dash",
|
|
environment: {},
|
|
environmentPropertyOrder: null,
|
|
metaSortKey: -1736082080559,
|
|
isPrivate: false,
|
|
afterResponseScript: "",
|
|
authentication: {},
|
|
type: "request_group",
|
|
),
|
|
Resource(
|
|
id: "wrk_fde7dcc4f5064b74b0fd749cbf8f684a",
|
|
parentId: null,
|
|
modified: 1736082089075,
|
|
created: 1736082089075,
|
|
name: "APIDash-APItests",
|
|
description: "",
|
|
scope: "collection",
|
|
type: "workspace",
|
|
),
|
|
Resource(
|
|
id: "req_db3c393084f14369bb409afe857e390c",
|
|
parentId: "fld_a2e9704c49034e36a05cdb3a233f6ebd",
|
|
modified: 1736082089077,
|
|
created: 1736082089077,
|
|
url: "https://api.apidash.dev/country/codes",
|
|
name: "test-get",
|
|
description: "",
|
|
method: "GET",
|
|
body: Body(),
|
|
parameters: [],
|
|
headers: [],
|
|
preRequestScript: "",
|
|
authentication: {},
|
|
metaSortKey: -1736082080558,
|
|
isPrivate: false,
|
|
afterResponseScript: "",
|
|
settingSendCookies: true,
|
|
settingStoreCookies: true,
|
|
settingDisableRenderRequestBody: false,
|
|
settingEncodeUrl: true,
|
|
settingRebuildPath: true,
|
|
settingFollowRedirects: "global",
|
|
type: "request",
|
|
),
|
|
Resource(
|
|
id: "req_ba718bbacd094e95a30ef3f07baa4e42",
|
|
parentId: "fld_a2e9704c49034e36a05cdb3a233f6ebd",
|
|
modified: 1736082089078,
|
|
created: 1736082089078,
|
|
url: "https://api.apidash.dev/case/lower",
|
|
name: "test-post",
|
|
description: "",
|
|
method: "POST",
|
|
body: Body(
|
|
mimeType: "application/json",
|
|
text: "{\n \"text\": \"Grass is green\"\n}",
|
|
),
|
|
parameters: [],
|
|
headers: [
|
|
Header(
|
|
name: "Content-Type",
|
|
value: "application/json",
|
|
)
|
|
],
|
|
preRequestScript: "",
|
|
authentication: {},
|
|
metaSortKey: -1736082080557,
|
|
isPrivate: false,
|
|
afterResponseScript: "",
|
|
settingSendCookies: true,
|
|
settingStoreCookies: true,
|
|
settingDisableRenderRequestBody: false,
|
|
settingEncodeUrl: true,
|
|
settingRebuildPath: true,
|
|
settingFollowRedirects: "global",
|
|
type: "request",
|
|
),
|
|
Resource(
|
|
id: "req_24cff90fc3c74e71a567f61d3f8e8cc1",
|
|
parentId: "fld_a2e9704c49034e36a05cdb3a233f6ebd",
|
|
modified: 1736082089078,
|
|
created: 1736082089078,
|
|
url: "https://reqres.in/api/users/2",
|
|
name: "test-put",
|
|
description: "",
|
|
method: "PUT",
|
|
body: Body(
|
|
mimeType: "application/json",
|
|
text:
|
|
"{\n \"name\": \"morpheus\",\n \"job\": \"zion resident\"\n}"),
|
|
parameters: [],
|
|
headers: [
|
|
Header(
|
|
name: "Content-Type",
|
|
value: "application/json",
|
|
)
|
|
],
|
|
preRequestScript: "",
|
|
authentication: {},
|
|
metaSortKey: -1736082080556,
|
|
isPrivate: false,
|
|
afterResponseScript: "",
|
|
settingSendCookies: true,
|
|
settingStoreCookies: true,
|
|
settingDisableRenderRequestBody: false,
|
|
settingEncodeUrl: true,
|
|
settingRebuildPath: true,
|
|
settingFollowRedirects: "global",
|
|
type: "request",
|
|
),
|
|
Resource(
|
|
id: "env_9d818b2866dffc9831640d91a516ea3986e16bda",
|
|
parentId: "wrk_fde7dcc4f5064b74b0fd749cbf8f684a",
|
|
modified: 1736082095630,
|
|
created: 1736082095630,
|
|
name: "Base Environment",
|
|
data: {},
|
|
dataPropertyOrder: null,
|
|
color: null,
|
|
isPrivate: false,
|
|
metaSortKey: 1736082095630,
|
|
environmentType: "kv",
|
|
type: "environment",
|
|
),
|
|
Resource(
|
|
id: "jar_9d818b2866dffc9831640d91a516ea3986e16bda",
|
|
parentId: "wrk_fde7dcc4f5064b74b0fd749cbf8f684a",
|
|
modified: 1736082095688,
|
|
created: 1736082095688,
|
|
name: "Default Jar",
|
|
cookies: [],
|
|
type: "cookie_jar",
|
|
),
|
|
]);
|