statuses

package
v0.0.0-...-4151d87 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(app *app.App) http.Handler

Create Handler for `/v1/statuses/`

Types

type StatusCreateRequest

type StatusCreateRequest struct {
	Status   string  `json:"status"`
	MediaIDs []int64 `json:"media_ids"`
}

Request body for `POST /v1/statuses`

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL