List.GetContributers

Summary

Returns the people that have contributed to the list. To find out the entities they voted on, use the Person.GetListEntries method.

Signatures

Web Service Method Signature
PersonPagedResults GetContributers(string apiKey, string site, string slug)
REST Signature
/rest/list/{slug}/contributers?apiKey={apiKey}&site={site}&pageSize={pageSize}&pageNumber={pageNumber}

Return Value

The paged results for the contributing users.

Arguments

apiKey

Your API key. For more information see here.

site

The site the API should be executed against, e.g. www.ditto.net.

slug

The slug of the list to get the contributers for.

pageSize (Optional)

The size of the page of data to return.

If this argument is omitted, it defaults to 10.

The minimum allowed value is 1 and the maximum is 50.

pageNumber (Optional)

The page number of the results to return.

If this argument is omitted or set to less than 1, it defaults to 1.

REST Example

http://api.ditto.net/rest/list/BestClassicMovies/contributers?apiKey=xxxx&site=www.ditto.net&pageSize=4&pageNumber=1

Response Example

<PersonPagedResults xmlns="http://www.ditto.net" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
	<PageNumber>1</PageNumber>
	<PageSize>10</PageSize>
	<Results>
		<Person>
			<DittoUrl>http://www.ditto.net/Members/KellySmith/</DittoUrl>
			<Id>10</Id>
			<Slug>KellySmith</Slug>
			<UserName>KellySmith</UserName>
		</Person>
		<Person>
			<DittoUrl>http://www.ditto.net/Members/MadMaddie/</DittoUrl>
			<Id>14</Id>
			<Slug>MadMaddie</Slug>
			<UserName>MadMaddie</UserName>
		</Person>
	<TotalResultCount>2</TotalResultCount>
</PersonPagedResults>