forked from kevadesu/forgejo
activitypub: implement /api/v1/activitypub/user/{username} (#14186)
Return informations regarding a Person (as defined in ActivityStreams https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person). Refs: https://github.com/go-gitea/gitea/issues/14186 Signed-off-by: Loïc Dachary <loic@dachary.org>
This commit is contained in:
parent
f2db473b0d
commit
4951af4d99
6 changed files with 195 additions and 0 deletions
9
modules/structs/activitypub.go
Normal file
9
modules/structs/activitypub.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Copyright 2021 The Gitea Authors. All rights reserved.
|
||||
// Use of this source code is governed by a MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package structs
|
||||
|
||||
type ActivityPub struct {
|
||||
Context string `json:"@context"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue