重定向

list of redirects

get

Get all redirects

授权
Authorizationstring必填

Enter token in format (Bearer )

响应
chevron-right
200

success

application/json
get
/redirect
200

success

create redirect

post
授权
Authorizationstring必填

Enter token in format (Bearer )

请求体
urlstring可选

URL

Example: www.example.com
destinationstring可选

Destination URL

Example: https://www.google.com
destinationsarray[string]可选

More Destinations

Example: []
typestring可选

Type

Example: 301
forward_pathboolean可选

whether forwarding slug to destination

Example: false
forward_queryboolean可选

whether forwarding query params to destination

Example: false
响应
chevron-right
200

success

application/json
dataobject可选
post
/redirect
200

success

Get details about a specific redirect by id

get
授权
Authorizationstring必填

Enter token in format (Bearer )

路径参数
idstring · string必填

redirect id

Example: 1639562002248499321
响应
chevron-right
200

success

application/json
idstring可选

Item id

Example: 72288a61-034e-4596-80c9-88751cf0a937
hoststring可选

Hostname

Example: www.example.com
urlstring可选

URL

Example: www.example.com
filestring可选

URL file

Example: www.example.com/*
httpsboolean可选

whether HTTPS support

Example: true
destinationstring可选

Destination URL

Example: https://www.google.com
destinationsarray[string]可选

More Destinations

Example: []
typestring可选

Type

Example: 301
statusstring可选

Status

Example: active
forward_pathboolean可选

whether forwarding slug to destination

Example: false
forward_queryboolean可选

whether forwarding query params to destination

Example: false
created_attime可选

created at

Example: 2023-11-15T15:09:14.000000Z
updated_attime可选

updated at

Example: 2023-11-15T15:09:14.000000Z
get
/redirect/{id}
200

success

update redirect

put
授权
Authorizationstring必填

Enter token in format (Bearer )

路径参数
idstring · string必填

redirect id

Example: 1639562002248499321
请求体
urlstring可选

URL

Example: www.example.com
destinationstring可选

Destination URL

Example: https://www.google.com
destinationsarray[string]可选

More Destinations

Example: []
typestring可选

Type

Example: 301
forward_pathboolean可选

whether forwarding slug to destination

Example: false
forward_queryboolean可选

whether forwarding query params to destination

Example: false
响应
chevron-right
200

success

application/json
dataobject可选
put
/redirect/{id}
200

success

delete redirect

delete
授权
Authorizationstring必填

Enter token in format (Bearer )

路径参数
idstring · string必填

redirect id

Example: 1639562002248499321
响应
chevron-right
200

success

application/json
dataobject可选
delete
/redirect/{id}
200

success