Init requests

This commit is contained in:
Yanis Rigaudeau 2022-10-26 21:47:56 +02:00
parent e9e1b48970
commit a4f5cf18d8
12 changed files with 166 additions and 0 deletions

View File

@ -0,0 +1,8 @@
_id: spc_8436777c430547adb1085fd68e18eace
type: ApiSpec
parentId: wrk_01922deddc7342ddb4d070126530214b
modified: 1666813426216
created: 1666813426216
fileName: Rate
contents: ""
contentType: yaml

View File

@ -0,0 +1,14 @@
_id: env_25eaa5dc66424aeabb57ef52fb713da8
type: Environment
parentId: env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a
modified: 1666813483038
created: 1666813431942
name: local
data:
URL: http://localhost:8000
dataPropertyOrder:
"&":
- URL
color: null
isPrivate: false
metaSortKey: 1666813431942

View File

@ -0,0 +1,14 @@
_id: env_589a320c58d54efc8e9ab96f6506ebd0
type: Environment
parentId: env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a
modified: 1666813482405
created: 1666813453631
name: yayeet.cf
data:
URL: https://html5.yayeet.cf/api
dataPropertyOrder:
"&":
- URL
color: null
isPrivate: false
metaSortKey: 1666813453631

View File

@ -0,0 +1,11 @@
_id: env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a
type: Environment
parentId: wrk_01922deddc7342ddb4d070126530214b
modified: 1666813430220
created: 1666813426222
name: Base Environment
data: {}
dataPropertyOrder: {}
color: null
isPrivate: false
metaSortKey: 1666813426222

View File

@ -0,0 +1,21 @@
_id: req_7a775a1b9142457eb390ccd6b2e72f28
type: Request
parentId: fld_c78e326c656f4411b8899877dd4f3b9c
modified: 1666813549000
created: 1666813535408
url: "{{ _.URL }}/user/logout"
name: Logout
description: ""
method: POST
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1666813492452
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global

View File

@ -0,0 +1,30 @@
_id: req_b0a828e3ee4d4267bd036b10d6bb1bed
type: Request
parentId: fld_c78e326c656f4411b8899877dd4f3b9c
modified: 1666813607293
created: 1666813566609
url: "{{ _.URL }}/user/create"
name: Create
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "test",
"password": "coucou",
"role": "USER"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1666813492352
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global

View File

@ -0,0 +1,21 @@
_id: req_bf97a9e369584040ac3a8440c7b2bc7c
type: Request
parentId: fld_c78e326c656f4411b8899877dd4f3b9c
modified: 1666813598408
created: 1666813551357
url: "{{ _.URL }}/user/read/ff08bc79-ba76-432d-9709-34eefbc462eb"
name: Read
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1666813492402
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global

View File

@ -0,0 +1,29 @@
_id: req_dbbe63eee56d439bb93f4c4929fcbfb2
type: Request
parentId: fld_c78e326c656f4411b8899877dd4f3b9c
modified: 1666813618261
created: 1666813492501
url: "{{ _.URL }}/user/login"
name: Login
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "admin",
"password": "motdepasse"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1666813492502
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global

View File

@ -0,0 +1,10 @@
_id: fld_c78e326c656f4411b8899877dd4f3b9c
type: RequestGroup
parentId: wrk_01922deddc7342ddb4d070126530214b
modified: 1666813489256
created: 1666813489256
name: User
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1666813489256

View File

@ -0,0 +1,8 @@
_id: wrk_01922deddc7342ddb4d070126530214b
type: Workspace
parentId: null
modified: 1666813426216
created: 1666813426216
name: Rate
description: ""
scope: design

0
scripts/deploy.sh Executable file → Normal file
View File

0
scripts/tools.py Executable file → Normal file
View File