Identity
interface Identity {
id: string
name: string
created_at: string
updated_at: string
}
interface CreateIdentityRequest {
name: string
url: string
}
interface CreateIdentityResponse {
success: boolean
item: Identity
}
interface GetIdentitiesResponse {
success: boolean
items: Identity[]
}
interface SearchIdentityRequest {
url: string
}
interface SearchIdentityResponse {
success: boolean
item: {
[identity_id: string]: {
name: string
distance: number
}
}
}Last updated