this post was submitted on 25 Jun 2023
14 points (100.0% liked)

Fediseer

308 readers
1 users here now

Announcements, news, devlogs and general discussion about The Fediseer (API)


Show off your instances endorsements and guarantees with individualized badges:


If you appreciate what this service provides, please consider funding the Fediseer development on liberapay

founded 1 year ago
MODERATORS
14
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

if you think the idea of the Fediseer is a good one, we could use your help!

If you have an instance, make sure you've claimed it. To claim it, you can use this curl command

DOMAIN=lemmy.dbzer0.com
ADMIN=db0
curl -X 'PUT' \
  'https://fediseer.com/api/v1/whitelist/${DOMAIN}' \
  -H 'accept: application/json' \
  -H 'Client-Agent: unknown:0:unknown' \
  -H 'Content-Type: application/json' \
  -d '{
  "admin": "${ADMIN}"
}'

In the above bash script, simple replace your DOMAIN and ADMIN with your own. If you're on windows, you can use git bash to run it.

Now you simply need to wait for someone to guarantee your instance. You can ask in this thread, or just look for other guaranteed instances which share your values and ask them. In fact if you pass a "guarantor": "domain.tld" key/value to the payload above, the admins of that instance will get a PM to guarantee for you!

Once you get your API key with a PM, you can then help us add more instance. If you know of any instances that are definitelly not spam, simply use the nelow curl call to guarantee for them as your own instance. They don't have to be claimed yet.

APIKEY="abcdefsawadf"
DOMAIN="notspam.domain.tld"
curl -X 'PUT' \
  'https://fediseer.com/api/v1/guarantees/${DOMAIN}' \
  -H 'accept: application/json' \
  -H 'apikey: ${APIKEY}'

Alternatively you can use the API directly so you don't have to edit curl commands.

I hope soon we'll have a working GUI which will make this very painless.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

Hey, had a random message pop up regarding this, and have fallen a bit down the rabbit hole! I've claimed my instance now (using the api directly) - this is quite new to me, so it would appear it was fediseer.com that was the endorser? Is that right?

Also, what is the difference between an endorsement and a guarantor? Couldnt it just be one?

Thanks :)

[โ€“] [email protected] 3 points 1 year ago

hey there, glad you claimed your instance! Yes Fediseer.com was the gurantor, this is the top level of the chain that I used to populate the Fediseer initially with some of the bigger instances. I hope that people will also start adding guaranteeing others as their own instances however.

Also, what is the difference between an endorsement and a guarantor? Couldnt it just be one?

Guarantee means that the guarantor vouches that that instance is not spam. An instance can only have 1 guarantor. You can only give up to 20 guarantees. You need to be guaranteed to guarantee or endorse others.

Endorsement is open ended. You can endorse other instances for any reason.

Hope this helps.