package atproto

  1. Overview
  2. Docs
Typed OCaml toolkit for the AT Protocol

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0.2.tar.gz
sha256=50ebbbd412c55878005c39eac9493a4a3475882d43d64e685aed2164048320f2

doc/atproto/Atproto/At_uri/index.html

Module Atproto.At_uriSource

AT URI scheme (at://) — public records (AT URI spec) and experimental permissioned space URIs from proposal 0016.

Public URIs stay in Uri (at most two path segments). Space URIs are in Space: the first path segment is the literal space marker, not an NSID. The proposal is not final; Space is not a stable spaces product API.

Sourcemodule Uri : sig ... end
Sourcemodule Space : sig ... end

Experimental space URI from AT Protocol proposal 0016 (permissioned data / spaces).

Sourcetype classified =
  1. | Public of Uri.t
  2. | Space of Space.t
Sourceval classify : string -> classified

Route raw to Space when the first path segment is space, otherwise to the public Uri parser.