Test Cases for Discovery of ActivityPub over HTTP

By entering the following URLs into a lookup (discovery) search box in your Fediverse software, the desired object should be shown. Currently it is known that Mastodon works for cases 1 to 3.

Retrieving the ActivityPub objects requires one to perform signed GET requests.

Source code is available at codeberg.org and issues can be filed there. It might be helpful to document this mechanism in a FEP. I have written up some details on the first method here. A Gherkin feature is available here.

  1. Description
    Lookup by link tag
    URL
    https://bovine.social/http_activitypub_test/case1
    ActivityPub ID
    https://bovine.social/objects/8f9e37ed-557f-4511-a818-f518fecc485f
    Content
    Test Case 1
  2. Description
    Lookup by link header
    URL
    https://bovine.social/http_activitypub_test/case2
    ActivityPub ID
    https://bovine.social/objects/90782cff-80fd-4fcf-a9d8-24330aa8fae8
    Content
    Test Case 2
  3. Description
    Return ActivityPub Object
    URL
    https://bovine.social/http_activitypub_test/case3
    ActivityPub ID
    https://bovine.social/objects/569dfb60-92cb-4e49-92ff-489f6a594701
    Content
    Test Case 3
  4. Description
    Redirect to ActivityPub Object
    URL
    https://bovine.social/http_activitypub_test/case4
    ActivityPub ID
    https://bovine.social/objects/da169826-4980-46e3-adbc-494a006980bc
    Content
    Test Case 4