fediseer/overseer/apis/v1/__init__.py

14 lines
702 B
Python
Raw Normal View History

2023-06-20 17:47:56 +00:00
import overseer.apis.v1.base as base
2023-06-22 13:40:28 +00:00
import overseer.apis.v1.whitelist as whitelist
2023-06-22 09:30:51 +00:00
import overseer.apis.v1.endorsements as endorsements
2023-06-22 13:40:28 +00:00
import overseer.apis.v1.guarantees as guarantees
2023-06-20 17:47:56 +00:00
from overseer.apis.v1.base import api
2023-06-21 17:44:33 +00:00
api.add_resource(base.Suspicions, "/instances")
2023-06-22 13:40:28 +00:00
api.add_resource(whitelist.Whitelist, "/whitelist")
api.add_resource(whitelist.WhitelistDomain, "/whitelist/<string:domain>")
2023-06-22 09:30:51 +00:00
api.add_resource(endorsements.Endorsements, "/endorsements/<string:domain>")
api.add_resource(endorsements.Approvals, "/approvals/<string:domain>")
2023-06-22 13:40:28 +00:00
api.add_resource(guarantees.Guarantors, "/guarantors/<string:domain>")
api.add_resource(guarantees.Guarantees, "/guarantees/<string:domain>")