diff options
author | Steven Fuchs <steven.fuchs@dockyard.com> | 2019-10-09 16:32:28 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-10-09 16:32:28 +0000 |
commit | dc6d20b68d3940b9537981a2556980a6ee3a43e3 (patch) | |
tree | 4045c0be62d60a3a0fc985cf6c08efa39c057f8a /test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta | |
parent | 1357ec1a106fa20a1f040bf8ef37a38c8b96aea6 (diff) | |
download | pleroma-dc6d20b68d3940b9537981a2556980a6ee3a43e3.tar.gz pleroma-dc6d20b68d3940b9537981a2556980a6ee3a43e3.zip |
provide mocks for webfinger endpoints
Diffstat (limited to 'test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta')
-rw-r--r-- | test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta b/test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta new file mode 100644 index 000000000..481cfec8d --- /dev/null +++ b/test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta @@ -0,0 +1,31 @@ +{ + "links":[ + { + "rel":"lrdd", + "type":"application\/jrd+json", + "template":"https:\/\/social.stopwatchingus-heidelberg.de\/.well-known\/webfinger?resource={uri}" + }, + { + "rel":"lrdd", + "type":"application\/json", + "template":"https:\/\/social.stopwatchingus-heidelberg.de\/.well-known\/webfinger?resource={uri}" + }, + { + "rel":"lrdd", + "type":"application\/xrd+xml", + "template":"https:\/\/social.stopwatchingus-heidelberg.de\/.well-known\/webfinger?resource={uri}" + }, + { + "rel":"http:\/\/apinamespace.org\/oauth\/access_token", + "href":"https:\/\/social.stopwatchingus-heidelberg.de\/api\/oauth\/access_token" + }, + { + "rel":"http:\/\/apinamespace.org\/oauth\/request_token", + "href":"https:\/\/social.stopwatchingus-heidelberg.de\/api\/oauth\/request_token" + }, + { + "rel":"http:\/\/apinamespace.org\/oauth\/authorize", + "href":"https:\/\/social.stopwatchingus-heidelberg.de\/api\/oauth\/authorize" + } + ] +} |