Documentation
¶
Index ¶
- Constants
- type Module
- func (m *Module) ExportBlocksGETHandler(c *gin.Context)
- func (m *Module) ExportFollowersGETHandler(c *gin.Context)
- func (m *Module) ExportFollowingGETHandler(c *gin.Context)
- func (m *Module) ExportListsGETHandler(c *gin.Context)
- func (m *Module) ExportMutesGETHandler(c *gin.Context)
- func (m *Module) ExportStatsGETHandler(c *gin.Context)
- func (m *Module) Route(...)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(processor *processing.Processor) *Module
func (*Module) ExportBlocksGETHandler ¶
ExportBlocksGETHandler swagger:operation GET /api/v1/exports/blocks.csv exportBlocks
Export a CSV file of accounts that you block.
--- tags: - import-export produces: - text/csv security: - OAuth2 Bearer: - read:blocks responses: '200': name: accounts description: CSV file of accounts that you block. '401': description: unauthorized '406': description: not acceptable '500': description: internal server error
func (*Module) ExportFollowersGETHandler ¶
ExportFollowersGETHandler swagger:operation GET /api/v1/exports/followers.csv exportFollowers
Export a CSV file of accounts that follow you.
--- tags: - import-export produces: - text/csv security: - OAuth2 Bearer: - read:accounts responses: '200': name: accounts description: CSV file of accounts that follow you. '401': description: unauthorized '406': description: not acceptable '500': description: internal server error
func (*Module) ExportFollowingGETHandler ¶
ExportFollowingGETHandler swagger:operation GET /api/v1/exports/following.csv exportFollowing
Export a CSV file of accounts that you follow.
--- tags: - import-export produces: - text/csv security: - OAuth2 Bearer: - read:follows responses: '200': name: accounts description: CSV file of accounts that you follow. '401': description: unauthorized '406': description: not acceptable '500': description: internal server error
func (*Module) ExportListsGETHandler ¶
ExportListsGETHandler swagger:operation GET /api/v1/exports/lists.csv exportLists
Export a CSV file of lists created by you.
--- tags: - import-export produces: - text/csv security: - OAuth2 Bearer: - read:lists responses: '200': name: accounts description: CSV file of lists. '401': description: unauthorized '406': description: not acceptable '500': description: internal server error
func (*Module) ExportMutesGETHandler ¶
ExportMutesGETHandler swagger:operation GET /api/v1/exports/mutes.csv exportMutes
Export a CSV file of accounts that you mute.
--- tags: - import-export produces: - text/csv security: - OAuth2 Bearer: - read:mutes responses: '200': name: accounts description: CSV file of accounts that you mute. '401': description: unauthorized '406': description: not acceptable '500': description: internal server error
func (*Module) ExportStatsGETHandler ¶
ExportStatsGETHandler swagger:operation GET /api/v1/exports/stats exportStats
Returns informational stats on the number of items that can be exported for requesting account.
--- tags: - import-export produces: - application/json security: - OAuth2 Bearer: - read:accounts responses: '200': description: Export stats for the requesting account. schema: "$ref": "#/definitions/accountExportStats" '401': description: unauthorized '406': description: not acceptable '500': description: internal server error