The current spec already discusses this under the section Hosting Redirects for Objects. I'd like to dial in the format for getting this done. In that section, the target server SHOULD publish an "Oracle URL" that maps old URLs to new URLs, and forwards requests directly to the new location. This is also similar to the Moves collection proposed in FEP-1580 but it allows others to query individual records instead of simply publishing a collection.
But we source servers currently can't use feature because there's no consistent way to know if it's been implemented or to locate it on the target server.
Option # 1: Explicit Definition 👍🏻
If we adopt some flavor of #56, then it would make sense to send the Oracle URL to the source server when we POST to the beginMigration endpoint. This would be a new value sent along with the target profile URL, making endpoint now look like this:
| Location |
Name |
Description |
| Header Value |
Authorization |
Bearer |
| Form Value |
actor |
the JSON-LD profile address of the new actor on the target server |
| Form Value |
oracle |
the URL of the mapping service used to redirect object requests |
Option # 2: Convention Over Configuration
Alternatively, we might define this URL within the /.well-known/ folder. However, I'd prefer to be explicit about its existence and location. If this is simply an implicit convention, then this process might break if a target server has not implemented the Oracle URL. If it's defined and sent to the source server explicitly, then source servers will know that it exists (or not) and be able to redirect requests accordingly.
The current spec already discusses this under the section Hosting Redirects for Objects. I'd like to dial in the format for getting this done. In that section, the target server SHOULD publish an "Oracle URL" that maps old URLs to new URLs, and forwards requests directly to the new location. This is also similar to the
Movescollection proposed in FEP-1580 but it allows others to query individual records instead of simply publishing a collection.But we source servers currently can't use feature because there's no consistent way to know if it's been implemented or to locate it on the target server.
Option # 1: Explicit Definition 👍🏻
If we adopt some flavor of #56, then it would make sense to send the Oracle URL to the source server when we POST to the
beginMigrationendpoint. This would be a new value sent along with the target profile URL, making endpoint now look like this:AuthorizationactororacleOption # 2: Convention Over Configuration
Alternatively, we might define this URL within the
/.well-known/folder. However, I'd prefer to be explicit about its existence and location. If this is simply an implicit convention, then this process might break if a target server has not implemented the Oracle URL. If it's defined and sent to the source server explicitly, then source servers will know that it exists (or not) and be able to redirect requests accordingly.