The endpoints property is currently an ActivityStreams Object with a grab-bag of custom properties pertinent to a specific Actor. However, the specification does not permit these properties to be directly populated directly on the Actor. The properties are:
- proxyUrl
- oauthAuthorizationEndpoint
- oauthTokenEndpoint
- provideClientKey
- signClientKey
- sharedInbox
Since all are URI values, there should be no data-readability issue with populating them directly on an actor. Furthermore, since this endpoint Object is not required to reference the actor it pertains to it alone has no semantic meaning and implementations must process it with a larger context.
It is a case of Accidental Complexity within the specification: the alternate is to just give an implementation the Actor with the above properties populated. Currently, implementations must be given an Actor for context and the resolved endpoints URI object and incur the extra HTTPS call to do the resolution.
Once both are permitted, I would like to consider deprecating endpoints as a property of the Actor and favor directly setting the properties on the Actor.
The
endpointsproperty is currently an ActivityStreams Object with a grab-bag of custom properties pertinent to a specific Actor. However, the specification does not permit these properties to be directly populated directly on the Actor. The properties are:Since all are URI values, there should be no data-readability issue with populating them directly on an actor. Furthermore, since this
endpointObject is not required to reference the actor it pertains to it alone has no semantic meaning and implementations must process it with a larger context.It is a case of Accidental Complexity within the specification: the alternate is to just give an implementation the Actor with the above properties populated. Currently, implementations must be given an Actor for context and the resolved
endpointsURI object and incur the extra HTTPS call to do the resolution.Once both are permitted, I would like to consider deprecating
endpointsas a property of the Actor and favor directly setting the properties on the Actor.