SSO
  1. session
SSO
  • sso
    • admin
      • account-create
      • account-suspend
      • account-unsuspend
      • account-bind-wallet
    • applications
      • scope
        • add
        • delete
      • user
        • add
        • update
        • delete
        • user-all
        • is-allowed
      • create
      • delete
      • new-api-key
      • all
      • all-own
      • details
      • is-owner
    • auth
      • token
        • token-refresh
      • register
        • register
        • request-email-code
        • verify-email-code
      • password
        • password-reset
        • request-email-code
        • verify-email-code
      • discord
        • authorize-URL
        • login
      • login
      • auth-me
      • logout
    • auth-eth
      • login-challenge
      • login
      • bind-challenge
      • bind-account
      • is-bound
    • access
      • planning
        • session
          • get
            GET
          • all
            GET
          • find
            GET
          • create
            POST
          • update
            PUT
          • delete
            DELETE
        • assistant
          • create-sessions
          • delete-sessions
        • get
          GET
      • pbe-access
        • is-authorized
    • newsletter
      • get-subscribers
    • user
      • me
        • email
          • update
        • password
          • update
      • role
        • all
        • update-role
        • update-role-batch
        • delete-role
        • delete-role-batch
      • all
      • find
    • wallet
      • find-owner
      • find-wallet
    • Get API version
      GET
  1. session

find

GET
/access/planning/session/find
Search for a session of given type and where given date is within a session time. start < date & date < end

请求参数

Query 参数
type
string 
必需
session type [early-access, whitelist]
示例值:
early-access
date
string 
必需
session including this UTC date [format YYYY-MM-DDThh:mm:ss.000Z]
示例值:
2022-06-15T12:00:00.000Z

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sso.gameown.io/api/access/planning/session/find?type=early-access&date=2022-06-15T12:00:00.000Z'

返回响应

🟢200Success
application/json
Body
id
integer 
session id
必需
start
string 
UTC date format
必需
YYYY-MM-DDThh:mm:ss.000Z
end
string 
UTC date format
必需
YYYY-MM-DDThh:mm:ss.000Z
type
string 
session type
必需
[early-access, whitelist]
createdAt
string 
UTC date format
必需
YYYY-MM-DDThh:mm:ss.000Z
updatedAt
string 
UTC date format
必需
YYYY-MM-DDThh:mm:ss.000Z
示例
{
    "id": 1,
    "start": "2022-06-08T12:00:00.000Z",
    "end": "2022-06-25T12:00:00.000Z",
    "type": "early-access",
    "createdAt": "2022-06-20T05:27:39.000Z",
    "updatedAt": "2022-06-20T05:27:39.000Z"
}
修改于 2023-03-16 14:04:34
上一页
all
下一页
create
Built with