Twift_APIRoute - daneden/Twift Wiki

Twift.APIRoute

public enum APIRoute 

Enumeration Cases

tweets

case tweets, me

me

case tweets, me

users

case users(_ userIds: [User.ID])

usersByUsernames

case usersByUsernames(_ usernames: [String])

singleUserById

case singleUserById(_ userId: User.ID)

singleUserByUsername

case singleUserByUsername(_ username: String)

following

case following(_ userId: User.ID)

followers

case followers(_ userId: User.ID)

deleteFollow

case deleteFollow(sourceUserId: User.ID, targetUserId: User.ID)

blocking

case blocking(_ userId: User.ID)

deleteBlock

case deleteBlock(sourceUserId: User.ID, targetUserId: User.ID)