Open a dork: link
Preview. This operation may change in any release.
Find what a dork: reference names on this DorkOS, such as dork:chat:, dork:room:, dork:entry: or dork:agent: (the part of a /r/ link after /r/). Returns its kind and the ids that open it: a chat id, a room id, a message with its room and place, or an agent id. A chat named by the id it had before its first reply is followed to the id it has now. Anything that is not there, that you may not see, or that is not a chat, room, message or agent answers LINK_NOT_FOUND.
The sign-in cookie a browser gets when a person signs in to DorkOS. An installed DorkOS on port 4242 names it __Secure-better-auth.session_token. On any other port the prefix carries a suffix for its data folder (better-auth-<hash>), and a development server leaves off __Secure-. From this computer, an operation that takes the sign-in cookie or a personal API key needs neither while "Ask for a password on this computer too" is off, which is how DorkOS installs (dorkos auth enable turns it on). A request from another device needs one, with one exception for now: a browser reaching a Docker container through its published port, while the container runs with DORKOS_ALLOW_INSECURE_BIND and has no owner account yet.
In: cookie
Query Parameters
The dork: reference to open, such as dork:chat:, dork:room:, dork:entry: or dork:agent:. The part of a /r/ link after /r/.
Response Body
application/json
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/links/target?uri=string"{ "kind": "chat", "sessionId": "string"}