/follower

Search Followers

get

Searches all followers in the system and returning the metadata for all matches against the given profile id.

Authorizations
Path parameters
profileIdanyRequired
Query parameters
offsetanyOptionalDefault: 0
countanyOptionalDefault: 20
Responses
400Error
application/json
get
GET /api/rest/follower/{profileId} HTTP/1.1
Host: localhost:8080
Authorization: YOUR_API_KEY
Accept: */*
{
  "code": "text",
  "message": "text"
}

Creates a Follower relationship between two profiles.

post

Supplying the follower object, this will store the information supplied in the body of the request.

Authorizations
Path parameters
profileIdanyRequired
Body

Represents a request to follow a player Follower.

followedIdanyRequired

The profile id which to follow.

Responses
400Error
application/json
post
POST /api/rest/follower/{profileId} HTTP/1.1
Host: localhost:8080
Authorization: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 19

{
  "followedId": null
}
{
  "code": "text",
  "message": "text"
}

Deletes a Follower relationship

delete
Authorizations
Path parameters
profileIdanyRequired
profileToUnfollowIdanyRequired
Responses
400Error
application/json
delete
DELETE /api/rest/follower/{profileId}/{profileToUnfollowId} HTTP/1.1
Host: localhost:8080
Authorization: YOUR_API_KEY
Accept: */*
{
  "code": "text",
  "message": "text"
}

Gets a specific profile using the ID of the profile and followed id.

get
Authorizations
Path parameters
profileIdanyRequired
followedIdanyRequired
Responses
400Error
application/json
get
GET /api/rest/follower/{profileId}/{followedId} HTTP/1.1
Host: localhost:8080
Authorization: YOUR_API_KEY
Accept: */*
{
  "code": "text",
  "message": "text"
}

Last updated