Skip to main content

create_record

Function create_record 

Source
pub async fn create_record(
    __arg0: State<Arc<OAuthState>>,
    __arg1: Extension<AuthenticatedUser>,
    headers: HeaderMap,
    body: Bytes,
) -> Response
Expand description

com.atproto.repo.createRecord for the first native-authorized public posting slice. The route is deliberately opt-in: OAuthState must carry a PublicRepoWriter, and the normal bearer/DPoP middleware must have inserted AuthenticatedUser before this handler runs.