My Project
  1. 👀 A_接口状态_看效果
My Project
  • Untitled Doc
  • Sample APIs
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Finds Pets by status
      GET
    • Find pet by ID
      GET
    • Deletes a pet
      DELETE
  • pet
    • uploads an image
      POST
    • Finds Pets by tags
      GET
    • Updates a pet in the store with form data
      POST
  • store
    • Returns pet inventories by status
      GET
    • Place an order for a pet
      POST
    • Find purchase order by ID
      GET
    • Delete purchase order by ID
      DELETE
  • user
    • Creates list of users with given input array
      POST
    • Get user by user name
      GET
    • Updated user
      PUT
    • Delete user
      DELETE
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Creates list of users with given input array
      POST
    • Create user
      POST
  • 👀 A_接口状态_看效果
    • 1_开发中_全参数测试-接口文档默认mock
      POST
  • User
    • Authentication
      • refresh_token_create
      • logoutAllDevices
      • logoutDevice
      • sendOTP
    • Customer
      • AuthenticateCustomer
      • GetCustomerDetails
      • UpdateCustomer
      • DeleteCustomer
  • Location
    • Country
      • ListCountries
    • Region
      • GetRegionByPoint
    • Address
      • ListAddresses
      • CreateAddress
      • UpdateAddress
      • DeleteAddress
  • Wallet
    • listWalletDetails
    • updateWallet
  • FCM
    • Devices
      • devices_list
      • devices_create
      • devices_retrieve
      • devices_update
      • devices_destroy
      • devices_partial_update
    • Notification
      • listNotifications
      • deleteNotification
      • bulkDeleteNotifications
  • AppInfo
    • getSocialAccounts
    • getAppInfo
    • listFaqs
  1. 👀 A_接口状态_看效果

1_开发中_全参数测试-接口文档默认mock

POST
/regression/api_status/developing/{p_string}/{p_int}/{p_number}/doc
👀 A_接口状态_看效果UIDisplayTestemoji😸(*^▽^*)😊echo $PATHinclude
该接口:有责任人、标签
1_测试中43785151
1_不存在
文档跳转_338429
文档不存在
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/regression/api_status/developing/test/1234/11.23/doc?query_fixed=q_fixed&query_string=sss&query_api_on=q_value_on&query_api_off=q_value_off&query_api_var=q_{{api_var}}&query_api_dynamic={% mock '\''pick'\'' , ['\''querypick'\''] %}&query_int=22&query_num=33.33&query_array=apple&query_array=peach&q_on_gp=q_on_gp_value&q_on_gp_request_off=q_on_gp_request_off_value' \
--header 'header_api_on: h_value_on' \
--header 'header_api_off: h_value_off' \
--header 'header_api_var: h_{{api_var}}' \
--header 'header_api_dymic: {% mock '\''pick'\'' , ['\''headerpick'\''] %}' \
--header 'header_str: hello' \
--header 'header_int: 1234' \
--header 'header_number: 33.33' \
--header 'header_array: aaaa' \
--header 'header_array: bbbb' \
--header 'h_on_gp: h_on_gp_value' \
--header 'h_on_gp_request_off: h_on_gp_case_off_value' \
--header 'Cookie: cookei_api_on=c_value_on;cookei_api_off=c_value_off;cookei_api_var=c_{{api_var}};cookei_api_dymic={% mock '\''pick'\'' , ['\''cookiepick'\''] %};cookie_str=test;cookie_int=1234;cookie_num=11.23;cookie_array=peach;cookie_array=apple;c_on_gp=c_on_gp_value;c_on_gp_request_off=c_on_gp_request_off_value' \
--form 'body_api_on="b_value_on"' \
--form 'body_api_off="b_value_off"' \
--form 'body_api_var="b_{{api_var}}"' \
--form 'body_api_dymic="{% mock '\''pick'\'' , ['\''bodypick'\''] %}"' \
--form 'body_string="hello"' \
--form 'body_int="1234"' \
--form 'body_number="33.33"' \
--form 'body_file=@"cmMtdXBsb2FkLTE2NjA5MTMxNjc5NjYtMg==/优惠券.postman_collection.json"' \
--form 'body_array="aaaa"' \
--form 'body_array="bbbb"' \
--form 'b_on_gp="b_on_gp_value"' \
--form 'b_on_gp_request_off="b_on_gp_request_off_value"'
Response Response Example
200 - Example 1
{
    "f_datatype_halfRef": {
        "SmartMock": {
            "match_ip": "string",
            "dismatch_ip": true
        }
    },
    "f_datatype_allRef": {
        "name": "string",
        "id": 0
    },
    "f_string": "available",
    "f_int": 0,
    "f_bool": true,
    "f_array": [
        "tttt"
    ],
    "f_obj": {
        "name": "string",
        "id": "string",
        "f_obj_array": [
            "string"
        ],
        "f_obj_obj": {
            "xx_id": "string",
            "xx_name": "string"
        }
    },
    "f_obj_unnecessary": {
        "id": "string",
        "name": "string"
    },
    "f_number": 0,
    "f_null": null,
    "f_any": "string",
    "f_allof": {
        "name": "string",
        "id": "string",
        "id2": "string"
    },
    "f_oneof": {
        "name0": "string",
        "id0": "string"
    },
    "f_anyof": {
        "name": "string",
        "id": "string"
    },
    "f_required_nullable": "1970-01-10",
    "f_unrequired_notnull": "string",
    "multi": {
        "f_array_array": [
            [
                "string"
            ]
        ],
        "f_array_obj": [
            {
                "name": "string",
                "id": "string"
            }
        ]
    },
    "f_bigint": 0,
    "AdvanceSetting": {
        "int": {
            "f_int_customValue": 1001,
            "f_int_customValue0": 0
        }
    }
}

Request

Path Params
p_string
string 
required
desc_p_string
Example:
test
p_int
integer 
required
desc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_longdesc_long
Example:
1234
p_number
number 
required
Example:
11.23
Query Params
query_fixed
string 
required
Example:
q_fixed
query_string
string 
required
Example:
sss
query_api_on
integer 
required
q同名参数:接口1、全局1、额外1,应请求接口值
Example:
q_value_on
query_api_off
string 
required
关闭的参数不请求
Example:
q_value_off
query_api_var
string 
required
使用示例值为变量
Example:
q_{{api_var}}
query_api_dynamic
string 
required
使用动态参数
Example:
{% mock 'pick' , ['querypick'] %}
query_int
integer 
required
int类型
Example:
22
query_num
number 
required
小数点
Example:
33.33
query_array
array[string]
required
数组
Example:
["apple","peach"]
query_unquired
string 
optional
非必需字段
Example:
unquired
q_on_gp
string 
required
全局说明~默认启用+必填
Example:
q_on_gp_value
query_same_1
string 
optional
Example:
query_same_1_gp
q_on_gp_request_off
string 
required
勿改-测试:全局参数~默认启用+必填+快捷请求/自定义请求不启用
Default:
q_on_gp_request_off_value
Example:
q_on_gp_request_off_value
glo_qparam_use_glo
string 
optional
Default:
{{id_glo}}
Example:
{{id_glo}}
glo_qparam_use_env
string 
optional
Default:
{{id_env}}
Example:
{{id_env}}
glo_qparam_use_prior
string 
optional
Default:
{{priority_env}}
Example:
{{priority_env}}
Header Params
header_api_on
integer 
required
q同名参数:接口1、全局1、额外1,应请求接口值
Example:
h_value_on
header_api_off
string 
required
关闭的参数不请求
Example:
h_value_off
header_api_var
string 
required
使用示例值为变量
Example:
h_{{api_var}}
header_api_dymic
string 
required
使用动态参数
Example:
{% mock 'pick' , ['headerpick'] %}
header_str
string 
required
string类型
Example:
hello
header_int
integer 
required
int
Example:
1234
header_number
number 
required
number类型
Example:
33.33
header_array
array[string]
required
数组类型
Example:
["aaaa","bbbb"]
header_unrequired
string 
optional
非必填字段
Example:
unrequired
h_on_gp
string 
required
勿改:全局参数~默认启用+必填
Default:
h_on_gp_defult
Example:
h_on_gp_value
header_same_1
string 
optional
Default:
header_same_1_gp_defult
Example:
header_same_1_gp
plat-form
string 
optional
Default:
{{header}}_defult
Example:
{{header}}
Cookie
string 
optional
勿改-用于测试cokie拼接
Example:
c1=cookieInGlobalHeader
h_on_gp_request_off
string 
required
勿改:全局参数~默认启用+必填+快捷请求/自定义请求不启用
Default:
h_on_gp_case_off_value
Example:
h_on_gp_case_off_value
glo_hparam_use_glo
string 
optional
Default:
{{id_glo}}
Example:
{{id_glo}}
glo_hparam_use_env
string 
optional
Default:
{{id_env}}
Example:
{{id_env}}
glo_hparam_use_prior
string 
optional
Default:
{{priority_env}}
Example:
{{priority_env}}
header_long
string 
optional
Default:
l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmnl=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn=end
Example:
l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmnl=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn=end
Cookie Params
cookei_api_on
integer 
required
开启
Example:
c_value_on
cookei_api_off
string 
required
关闭的参数不请求
Example:
c_value_off
cookei_api_var
string 
required
使用示例值为变量
Example:
c_{{api_var}}
cookei_api_dymic
string 
required
使用动态参数
Example:
{% mock 'pick' , ['cookiepick'] %}
cookie_str
string 
required
string类型
Example:
test
cookie_int
integer 
required
int
Example:
1234
cookie_num
number 
required
num
Example:
11.23
cookie_array
array[string]
required
数组
Example:
["peach","apple"]
cookie_unrequired
string 
optional
非必填字段
Example:
unrequired
c_on_gp
string 
required
勿改-测试:全局参数~默认启用+必填
Example:
c_on_gp_value
cookie_same_1
string 
optional
Example:
cookie_same_1_gp
cookie_long
string 
optional
Example:
l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn
c1
string 
optional
勿改-测试
Default:
cookieInGlobalCookie_defult
Example:
cookieInGlobalCookie
c_on_gp_request_off
string 
required
勿改-测试:全局参数~默认启用+必填+快捷请求/自定义请求不启用
Default:
c_on_gp_request_off_value
Example:
c_on_gp_request_off_value
glo_cparam_use_glo
string 
optional
Default:
{{id_glo}}
Example:
{{id_glo}}
glo_cparam_use_env
string 
optional
Default:
{{id_env}}
Example:
{{id_env}}
glo_cparam_use_prior
string 
optional
Default:
{{priority_env}}
Example:
{{priority_env}}
Body Params multipart/form-data
body_api_on
integer 
required
q同名参数:接口1、全局1、额外1,应请求接口值
Example:
b_value_on
body_api_off
string 
required
关闭的参数不请求
Example:
b_value_off
body_api_var
string 
required
使用示例值为变量
Example:
b_{{api_var}}
body_api_dymic
string 
required
使用动态参数
Example:
{% mock 'pick' , ['bodypick'] %}
body_string
string 
required
str
Example:
hello
body_int
integer 
required
int
Example:
1234
body_number
number 
required
number
Example:
33.33
body_file
file 
required
file
Example:
cmMtdXBsb2FkLTE2NjA5MTMxNjc5NjYtMg==/优惠券.postman_collection.json
body_array
array[string]
required
array
Example:
["aaaa","bbbb"]
body_unrequired
string 
optional
非必填字段
Example:
unrequired
file_sha256
string 
optional
文件SHA-256值,长度应为32字节(hex编码)
>= 64 characters<= 64 characters
Example:
Match pattern:
[a-fA-F0-9]{64}
ocr_enum
enum<string> 
optional
Allowed values:
pendingcomplatedfailed
Example:
b_on_gp
string 
required
全局说明~默认启用+必填
Example:
b_on_gp_value
body_same_1
string 
optional
优先级
Example:
body_same_1_gp
test
string 
optional
Example:
000
b_on_gp_request_off
string 
required
勿改-测试:全局参数~默认启用+必填+快捷请求/自定义请求不启用
Default:
b_on_gp_request_off_value
Example:
b_on_gp_request_off_value
glo_bparam_use_glo
string 
optional
Default:
{{id_glo}}
Example:
{{id_glo}}
glo_bparam_use_env
string 
optional
Default:
{{id_env}}
Example:
{{id_env}}
glo_bparam_use_prior
string 
optional
Default:
{{priority_env}}
Example:
{{priority_env}}

Responses

🟢200OK
application/json
Body
f_datatype_halfRef
object 
required
模型引用_半引用
SmartMock
object 
智能mock
required
入口-项目设置项目设置
Additional properties
integer  | number  | string  | boolean 
optional
f_datatype_allRef
object (TypeNotAllowNull) 
required
模型全引用
name
string  | null 
required
id
integer 
required
f_string
enum<string> 
required
设置了枚举值
Allowed values:
availablependingsold
f_int
integer 
required
f_bool
boolean 
required
f_array
array[string]
required
Allowed values:
ttttkkk
f_obj
object  | null 
required
允许null
name
string 
required
id
string 
required
f_obj_array
array[string]
required
f_obj_obj
object 
required
obj多层嵌套
f_obj_unnecessary
object 
optional
id
string 
required
name
string 
required
f_number
number 
required
f_null
null 
required
f_any
string 
required
f_allof
object 
required
desc of f_allof
name
string 
required
desc of allof 1_name
id
string 
optional
id2
string 
optional
Additional properties
integer  | number  | string  | boolean 
optional
f_oneof
required
One of
name0
string 
required
id0
string 
optional
f_anyof
required
Any of
name
string 
required
id
string 
optional
f_required_nullable
enum<string> <Date-Time> | enum<null> 
required
必填&允许空&datetime&有枚举值
Allowed values:
1970-01-102022-01-10
f_unrequired_notnull
string 
optional
非必填&不允许空&datetime&有枚举值
multi
object 
required
多层嵌套
f_array_array
array [array] 
required
f_array_obj
array [object {2}] 
required
f_bigint
integer 
required
AdvanceSetting
object 
optional
int
object 
required
Additional properties
integer  | number  | string  | boolean 
optional
🟢200OK
🟢200OK
🟢200OK
🟢200OK
🟢200OK
🔵304304
🟠403Forbidden
🔴502Bad Gateway
Previous
Create user
Next
refresh_token_create
Built with