This commit is contained in:
parent
b44e199d1d
commit
839c34a310
@ -439,25 +439,18 @@ module.exports = (app, client) => {
|
|||||||
* type: object
|
* type: object
|
||||||
* properties:
|
* properties:
|
||||||
* data:
|
* data:
|
||||||
* type: object
|
* type: array
|
||||||
* properties:
|
* items:
|
||||||
* block_count:
|
* type: object
|
||||||
* type: integer
|
* properties:
|
||||||
* description: Number of fediblock instances.
|
* instance:
|
||||||
* example: 0
|
* type: string
|
||||||
* instances:
|
* description: Instance of the block.
|
||||||
* type: array
|
* example: mastodon.social
|
||||||
* items:
|
* comment:
|
||||||
* type: object
|
* type: string
|
||||||
* properties:
|
* description: Comment about the block.
|
||||||
* instance:
|
* example: spam
|
||||||
* type: string
|
|
||||||
* description: Instance of the block.
|
|
||||||
* example: mastodon.social
|
|
||||||
* comment:
|
|
||||||
* type: string
|
|
||||||
* description: Comment about the block.
|
|
||||||
* example: spam
|
|
||||||
*/
|
*/
|
||||||
app.use('/api/block_count/:instance', async (req, res) => {
|
app.use('/api/block_count/:instance', async (req, res) => {
|
||||||
if (req.params.instance && req.params.instance.length > 0) {
|
if (req.params.instance && req.params.instance.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user