PU口袋校园
  1. 获取活动
PU口袋校园
  • is_go=1
    • 获取分数
      • 获取活动类分数
      • 获取成果类分数
      • 查询学年ID
      • 获取简易信息
    • 活动
      • 获取活动
        • 我的活动
          • 获取我的活动
        • 请求活动列表
        • 查询活动详情
        • 获取分类
      • 报名活动
    • 登录
      POST
    • 获取个人信息
      GET
  • is_go=0
    • 活动
      • 获取活动
        • 我的活动
          • 我的活动
        • 请求活动列表
          POST
        • 获取分类
          POST
        • 获取活动详情
          POST
        • 活动报名
          POST
    • 登录
      POST
    • 获取个人信息
      POST
  • 获取sid
    GET
  1. 获取活动

请求活动列表

已测完
POST
/index.php
最后修改时间:2024-12-18 22:33:03

请求参数

Query 参数
app
string 
可选
示例值:
api
mod
string 
可选
示例值:
Event
act
string 
可选
示例值:
newEventListWithRecomm
Header 参数
User-Agent
string 
可选
示例值:
client:Android version:7.1.16 Brand:OnePlus Product:PHB110 OsVersion:9
oauth_token
string 
可选
示例值:
{{oauth_token}}
oauth_token_secret
string 
可选
示例值:
{{oauth_token_secret}}
Accept-Encoding
string 
可选
示例值:
gzip
Body 参数application/x-www-form-urlencoded
oauth_token
string 
必需
示例值:
{{oauth_token}}
oauth_token_secret
string 
必需
示例值:
{{oauth_token_secret}}
page
string 
页号
必需
示例值:
1
catagoryId
string 
可选
catagoryId:分类id
示例值:
613
orgaId
string 
可选
orgaId:归属组织id
示例值:
-6
eventStatus
string 
可选
eventStatus:活动状态id
示例值:
1
years
string 
可选
years:参与年级id
示例值:
2024
count
string 
单页活动数量
可选
示例值:
50

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/index.php?app=api&mod=Event&act=newEventListWithRecomm' \
--header 'User-Agent: client:Android version:7.1.16 Brand:OnePlus Product:PHB110 OsVersion:9' \
--header 'oauth_token: {{oauth_token}}' \
--header 'oauth_token_secret: {{oauth_token_secret}}' \
--header 'Accept-Encoding: gzip' \
--data-urlencode 'oauth_token={{oauth_token}}' \
--data-urlencode 'oauth_token_secret={{oauth_token_secret}}' \
--data-urlencode 'page=1'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
message
string 
必需
content
array [object {3}] 
必需
ad_id
integer 
必需
type
string 
必需
extra
object 
必需
示例
{
    "code": 0,
    "message": "string",
    "content": [
        {
            "ad_id": 0,
            "type": "string",
            "extra": {
                "id": "string",
                "title": "string",
                "hit": "string",
                "typeId": "string",
                "typeId2": "string",
                "is_school_event": "string",
                "credit": "string",
                "credit_old": "string",
                "coverId": "string",
                "sTime": "string",
                "eTime": "string",
                "joinCount": 0,
                "limitCount": 0,
                "note": "string",
                "is_prov_event": "string",
                "address": "string",
                "description": "string",
                "startline": "string",
                "deadline": "string",
                "status": "string",
                "school_audit": "string",
                "is_need_sign_out": "string",
                "allow": "string",
                "score": "string",
                "is_outside": "string",
                "free_attend": "string",
                "pu_amount": "string",
                "school_venue": "string",
                "audit_uid3": "string",
                "eventStatus": 0,
                "cover": "string",
                "friendCount": 0,
                "isTop": "string",
                "cName": "string",
                "isCredit": "string",
                "credit_num": 0,
                "credit_name": "string",
                "tags": [
                    "string"
                ],
                "area": 0,
                "isAllowEvent": 0,
                "category": "string"
            }
        }
    ]
}
修改于 2024-12-18 22:33:03
上一页
我的活动
下一页
获取分类
Built with