Skip to content

Commit

Permalink
add documentation for start_time_ns
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Feb 22, 2024
1 parent 5ba7191 commit 36d54b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib-xps/src/rpc/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ pub trait Xps {
/// ##### Parameters:
///
/// - `DID` (string): Unique XMTP identifier for the user requesting the installation.
/// - `start_time_ns` (int): The start time in nanoseconds from which to return identity updates.
///
/// ##### Example Request:
///
Expand All @@ -378,6 +379,7 @@ pub trait Xps {
/// "method": "getIdentityUpdates",
/// "params": {
/// "did": "12345"
/// "start_time_ns": 0
/// },
/// "id": 1
/// }
Expand Down Expand Up @@ -427,7 +429,11 @@ pub trait Xps {
/// }
/// ```
#[method(name = "getIdentityUpdates")]
async fn get_identity_updates(&self, did: String, start_time_ns: i64) -> Result<IdentityResult, ErrorObjectOwned>;
async fn get_identity_updates(
&self,
did: String,
start_time_ns: i64,
) -> Result<IdentityResult, ErrorObjectOwned>;

/// # Documentation for JSON RPC Endpoint: `status`

Expand Down

0 comments on commit 36d54b1

Please sign in to comment.