Skip to content

Commit

Permalink
wip: fill bsky schema (need to split into different contexts)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Sep 14, 2024
1 parent dbccf64 commit 9610f11
Show file tree
Hide file tree
Showing 6 changed files with 571 additions and 31 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ atproto-*.tar

# Temporary files, for example, from tests.
/tmp/

.env
7 changes: 6 additions & 1 deletion lib/atproto/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ defmodule Atproto.Schema do

use XRPC.DSL

defprocedure "com.atproto.server.createSession" do
@doc """
Create an authentication session.
https://docs.bsky.app/docs/api/com-atproto-server-create-session
"""
defprocedure "com.atproto.server.createSession", for: :todo do
param(:identifier, {:required, :string})
param(:password, {:required, :string})
end
Expand Down
Loading

0 comments on commit 9610f11

Please sign in to comment.