User Tools

Site Tools


push

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

push [2025/03/22 16:40] – created winterpush [2025/03/24 20:07] (current) – link to subscription winter
Line 3: Line 3:
 In order for other [[instances]] to discover your [[objects]] in a timely manner, you may want to **push** them. The recommended way to do this is to send the object directly to the ''push'' endpoint (listed in the remote instance's [[instance metadata|metadata]]), but for lightweight implementations you can also send just the URI of the object to the ''simplePush'' endpoint, which does not require any dynamic features on your end other than what's needed to look up the object. In order for other [[instances]] to discover your [[objects]] in a timely manner, you may want to **push** them. The recommended way to do this is to send the object directly to the ''push'' endpoint (listed in the remote instance's [[instance metadata|metadata]]), but for lightweight implementations you can also send just the URI of the object to the ''simplePush'' endpoint, which does not require any dynamic features on your end other than what's needed to look up the object.
  
-It is highly recommended to impose a heavy delay and/or rate-limit on the ''simplePush'' endpoint to avoid it being abused (especially as it doesn't require a subscription).+It is highly recommended to impose a heavy delay and/or rate-limit on the ''simplePush'' endpoint to avoid it being abused (especially as it doesn't require a [[subscription]]).
  
 <WRAP center round todo 60%> <WRAP center round todo 60%>
Line 12: Line 12:
 ===== Normal push ===== ===== Normal push =====
  
-Rough process: first authenticate with the instance you want to push to, wait for them to subscribe to you, and then POST the entire object as JSON to their push endpoint.+Rough process: first authenticate with the instance you want to push to, wait for them to [[subscription|subscribe]] to you, and then POST the entire object as JSON to their push endpoint.
  
  
push.txt · Last modified: 2025/03/24 20:07 by winter