Commit f3b979ba authored by Lukas Matt's avatar Lukas Matt

Fix api docs

parent 598bfe51
......@@ -41,11 +41,11 @@ type ApiApUser struct {
/**
* @api {get} /ap/user/:username/actor Display actor information
* @apiName ApiApUser.Actor
* @apiGroup ApiApUsers
* @apiGroup ActivityPub
*
* @apiParam {String} username The name associated with the user account
*
* @apiSuccess {String} @context Activitystreams context
* @apiSuccess {String} context Activitystreams context
* @apiSuccess {String} id Link to actor profile
* @apiSuccess {String} type Object type e.g. Person
* @apiSuccess {String} inbox Link to user inbox
......@@ -125,7 +125,7 @@ func (a ApiApUser) Actor(username string) revel.Result {
/**
* @api {post} /ap/user/:username/inbox User inbox
* @apiName ApiApUser.Inbox
* @apiGroup ApiApUsers
* @apiGroup ActivityPub
*
* @apiParam {String} username The name associated with the user account
*
......@@ -230,7 +230,7 @@ func (a ApiApUser) Inbox(username string) revel.Result {
/**
* @api {get} /ap/user/:username/outbox User outbox
* @apiName ApiApUser.Outbox
* @apiGroup ApiApUsers
* @apiGroup ActivityPub
*
* @apiParam {String} username The name associated with the user account
*
......@@ -322,7 +322,7 @@ func (a ApiApUser) Outbox(username string) revel.Result {
/**
* @api {get} /ap/user/:username/following User following statistics
* @apiName ApiApUser.Following
* @apiGroup ApiApUsers
* @apiGroup ActivityPub
*
* @apiParam {String} username The name associated with the user account
*
......@@ -354,7 +354,7 @@ func (a ApiApUser) Following(username string) revel.Result {
/**
* @api {get} /ap/user/:username/followers User follower statistics
* @apiName ApiApUser.Followers
* @apiGroup ApiApUsers
* @apiGroup ActivityPub
*
* @apiParam {String} username The name associated with the user account
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment