Person.GetTastewall

Summary

Returns the entities on a user's tastewall.

Signatures

Web Service Method Signature
EntityPagedResults GetTastewall(string apiKey, string site, string slug, int pageSize, int pageNumber)
REST Signature
/rest/person/{slug}/Tastewall?apiKey={apiKey}&site={site}&pageSize={pageSize}&pageNumber={pageNumber}

Return Value

The paged results for the entities on the user's tastewall.

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 user to get the tastewall 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/person/Mike/TasteWall?apiKey=xxxx&site=www.ditto.net&pageSize=4&pageNumber=1

Response Example

<EntityPagedResults xmlns="http://www.ditto.net" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
	<PageNumber>1</PageNumber>
	<PageSize>3</PageSize>
	<Results>
		<Entity>
		    <DittoUrl>http://www.ditto.net/Items/Music_Lightbulb-Sun_Porcupine</DittoUrl>
			<Differentiator>Porcupine Tree</Differentiator>
			<EntityId>1005071</EntityId>
			<Name>Lightbulb Sun</Name>
			<Slug>Music_Lightbulb-Sun_Porcupine</Slug>
		</Entity>
		<Entity>
		    <DittoUrl>http://www.ditto.net/Items/Films_House_2004</DittoUrl>
			<Differentiator>2004</Differentiator>
			<EntityId>149300</EntityId>
			<Name>House</Name>
			<Slug>Films_House_2004</Slug>
		</Entity>
		<Entity>
		    <DittoUrl>http://www.ditto.net/Items/Films_Angel_1999</DittoUrl>
			<Differentiator>1999</Differentiator>
			<EntityId>198679</EntityId>
			<Name>Angel</Name>
			<Slug>Films_Angel_1999</Slug>
		</Entity>
	</Results>
 <TotalResultCount>500</TotalResultCount>
</EntityPagedResults>