小蓝书
  1. 项目
小蓝书
  • 用户
    • 登录
      POST
    • 注册
      POST
    • 个人信息
      GET
  • 项目
    • 发布项目
      POST
    • 加入项目
      POST
    • 搜索项目
      GET
  • 聊天
  • 首页信息
    GET
  1. 项目

发布项目

Developing
POST
/book/project/publish

Request

Header Params
token
string 
required
Body Params multipart/form-data
title
string 
required
项目标题
Example:
test
description
string 
required
项目简述
Example:
test
types
array[string]
required
项目的专业类别,[]string
Example:
["cs"]
username
string 
required
Example:
smallpig
count
string 
required
项目人数
Example:
5

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/book/project/publish' \
--header 'token;' \
--form 'title="test"' \
--form 'description="test"' \
--form 'types="cs"' \
--form 'username="smallpig"' \
--form 'count="5"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
  "base": {
    "code": 10000,
    "msg": "Success"
  }
}
Modified at 2024-10-10 10:28:22
Previous
个人信息
Next
加入项目
Built with