OpenIsle Docs
API 概览
List posts GET Create post POST
Delete post DELETE Get post GET Update post PUT
Join lottery POST
Api
Posts
Id
Lottery
Join

# Join lottery

Join a lottery for the post

POST
/`api`/`posts`/`{id}`/`lottery`/`join`

## Authorization

Authorization Bearer <token>

In: `header`

## Path Parameters

id integer
Format `int64`

## Response Body

###

    curl -X POST "https://www.open-isle.com/api/posts/0/lottery/join"

Empty

Close post POST

Previous Page

Poll progress GET

Next Page

    curl -X POST "https://www.open-isle.com/api/posts/0/lottery/join"