...

/

User Operations on the Category

User Operations on the Category

Learn how to perform some important operations on categories using the Vimeo API.

We'll cover the following...

Overview

In this lesson, we'll learn about a few user-related operations on a category:

  • Check if a user follows a specific category
  • Allow a user to follow a specific category
  • Allow a user to unfollow a specific category
  • Get all the categories that a user follows

We’ll use the following endpoints to perform these operations:

  • We’ll use the {base_url}/users/{USER_ID}/categories/{category_name} endpoint to check, follow, and unfollow a category.
  • We’ll use the {base_url}/users/{USER_ID}/categories endpoint to get all categories followed by a user.

Check, follow, and unfollow a category

In this section, we'll go over operations that we perform with the users/{USER_ID}/categories/{category_name} ...