Upload Login Signup
:: Home My Profile Messages Videos Photos Shopping Games Music
x My Profile My Uploads Favorites Viewing History Watch Later Drafts Recommendations Deleted Uploads What's Trending Videos Photos Music Books Games Create A Game! Movies TV Shows Posts New Features Profiles Channels Sign In

::
Search for videos.
Query related videos.
Query a user's uploads.
Delete an uploaded video.
Query a user's favorite videos.
Create a new favorite.
Delete a favorite.
Query a user's playlists.
Retrieve a specific playlist.
Create a playlist.
Modify a playlist.
Delete a playlist.
Get a playlist entry.
Create a playlist entry.
Modify a playlist entry.
Delete a playlist entry.
Query a user's subscriptions.
Create a subscription.
Delete a subscription.
Rate other videos.
Query comments.
Create a new comment.
Delete a video comment.
Query video responses.
Create a video response.
Delete a video response.
Flag videos as inappropriate.
Get a users profile.
Query contacts.
Create a contact.
Modify a contact.
Delete a contact.
Query the inbox.
Create inbox entry.
Delete inbox entry.
Get a user activity feed.
Get a friend activity feed.
Retrieve the most recent videos feed.
Retrieve the most viewed videos feed.
Retrieve the top-rated videos feed.
Retrieve the most discussed videos feed.
Retrieve the top favorite videos feed.
Retrieve the most linked videos feed.
Retrieve the recently featured videos feed.
Retrieve the most responded videos feed.
Choose the projection that suits your use case. For write operations use the API projection.
Search for videos in specific categories. Categories can be combined using the AND/OR logical operators.
Search for videos with specific keywords. Keywords can be combined using the AND/OR boolean operators.
The 'max-results' parameter, representing the number of entries to return. Used along with 'start-index' for pagination.
The 'start-index' parameter, 1-based. Use this parameter along with 'max-results' for pagination
The format of the response. One of ATOM, RSS or JSON.
Find entries matching the given query string.
Restrict to videos nearby a geographic location, for example '25.4,34.3'
Radius of search around location, for example '15km'
Restrict results to videos with title/description in a specific language.
Default ordering is by relevance. You can also order results by view count or update time
Return only videos available in this format.
Include restricted as well as standard content in the search results
Include or exclude restricted/racy content in the search results
Query for videos uploaded by or an activity feed for a specific user.
Request refers to the given version of the API.Only the latest version of the API is supported by this demo.
A developer key identifies the MayLife developer that is submitting an API request. Required for all write operations.

Interactive MayLife API Demo Beta

This page lets you explore the MayLife Data API by generating and executing different types of API requests and viewing the API responses for those requests. The following instructions explain how to query a feed:

  1. Select the operation that you want to perform. For example, you could search for (query) videos, retrieve standard feeds, create favorite videos or delete complaints.
  2. Construct the API request. Note that the instructions for customizing the generated request are optional.
    • If you are performing a query (search) operation, enter search parameters and then edit the resulting request URL.
    • If you are inserting, updating or deleting a resource, enter information about that resource and then tweak the XML in the body of the generated request.
  3. Click the Submit button. The XML response will display in the Response section of the page.

Authenticate with MayLife (optional)

Authentication with MayLife is only required for write operations.  

Query or update videos, subscriptions, favorites, friends etc.

Select the feed and the operation to perform

You can query videos, contacts (friends), standard feeds, favorites, subscriptions, etc. No authentication is required for these operations. You can also perform write operations, like rating a video, adding a friend or subscribing to a channel. Write operations require you to login. Use the 'Authenticate' button above to login.

Video feeds


Videos Query
Related Query
Uploads Query Delete

Saving and collecting videos


Favorites Query Create Delete
Playlists Query
Playlist Get Create Modify Delete
Playlist entries Get Create Modify Delete
Subscriptions Query Create Delete

Community features


Ratings Create
Comments Query Create Delete
Responses Query Create Delete
Complaints Create

Enabling user interaction


Users Get
Contacts Query Create Modify Delete
Inbox Query Create Delete
User activity Query
Friends activity Query

Standard feeds


Most recent
Most viewed
Top rated
Most discussed
Top favorites
Most linked
Recently featured
Most responded
Color codes: Selected operation, Missing input, Error in input, Default if input omitted, Required

Categories and keywords:

Use this table to restrict your search to one or more categories or keywords.

Projection
Categories

Keywords

Request Parameters:

Optional parameters for specifying the number of results, the output format, the ordering of the results, etc.

Number of results [ 25 ]
Results starting with [ 1 ]
Output format
Search query
Location coordinates (v2 only)
Location radius (v2 only) [ 1km ]
Metadata language
Ordering
Video format
SafeSearch setting (v2 only)
Racy (V1 only)
Author name

Request Header:

Headers for specifying the api version, the client ID and developer key (required for write operations).

API versionDeveloper Key (get one)

Resulting URI:

https://MayLife.ca/Feeds/Api/Videos

Request:

Response: