gotosocial/internal/api
tobi 5f00d4980b
[feature] Implement /api/v1/instance/peers endpoint (#660)
* add missing license headers

* start adding instance peers get

* rename domainblock.go

* embed domain in domainblock so it can be reused

* update swagger docs

* add test instances to db

* update tests

* add/update instancepeersget

* update domain model

* add getinstancepeers to db

* instance-expose-peers, instance-expose-suspended

* add auth checks for both current filters

* attach endpoint to router

* include public comment

* obfuscate domain if required

* go mod tidy

* update swagger docs

* remove unnecessary comment

* return 'flat' peerlist if no query params provided
2022-06-23 16:54:54 +02:00
..
client [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
model [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
s2s [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
security [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
apimodule.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
errorhandling.go [feature] Add created_at and error_description to /oauth/token endpoint (#645) 2022-06-11 10:39:39 +02:00
mime.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
negotiate.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00