Module Cephalopod_models.Com_Atproto_Sync_GetRepoStatus

lexicon "com.atproto.sync.getRepoStatus"

def main

type main_params = {
  1. did : string;
    (*

    The DID of the repo. format: "Did"

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : did:string -> main_params
val main_params_of_value : main_params Cephalopod_dasl.Value.Util.conv
val main_params_to_value : main_params -> Cephalopod_dasl.Value.t
type main_output = {
  1. did : string;
    (*

    format: "Did"

    *)
  2. active : bool;
  3. status : string option;
    (*

    If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. known values: "takendown"; "suspended"; "deleted"; "deactivated"; "desynchronized"; "throttled"

    *)
  4. rev : string option;
    (*

    Optional field, the current rev of the repo, if active=true format: "Tid"

    *)
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
type main_error = [
  1. | `RepoNotFound
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.