Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources: 

Explore the RESTful module

Video loading...

Transcripts: 
Transcript language code: 
eng
Transcript language code: 
por_br

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:04
    In this lesson we're going to take a look at my
  • 0:06
    favorite method of creating an API from
  • 0:08
    within Drupal, the RESTful module.
  • 0:11
    In talking about the RESTful module, we'll take a look at
  • 0:14
    the official documentation and configuration of the module.
  • 0:17
    After reading the documentation, we'll look at how we can
  • 0:20
    expose a basic content type or entity.
  • 0:23
    And then dive into some code to help us expose our
  • 0:25
    blog posts, and some other basic information about our site.
  • 0:29
    Like most Drupal Modules, you can download the
  • 0:04
    Nessa lição iremos dar uma olhada no meu
  • 0:06
    método favorito de criar uma API
  • 0:08
    dentro do Drupal, o módulo RESTful.
  • 0:11
    Nessa conversa sobre o módulo RESTful, iremos ver
  • 0:14
    a documentação oficial e configuração do módulo.
  • 0:17
    Depois de ler a documentação, iremos ver como podemos
  • 0:20
    expor um tipo de conteúdo básico ou entidade.
  • 0:23
    E depois mergulhar no código para nos ajudar a expor
  • 0:25
    nossos posts de blog, e outras informações básicas sobre nosso site.
  • 0:29
    Como a maioria dos módulos Drupal, você pode baixar
Loading ...

Explore the RESTful module

Loading...

Another popular method of creating an API from a Drupal site is using the RESTful module.

In this exploration of the module we will:

  • Walk through the documentation
  • Use the example code to expose basic entity information
  • Write custom code to expose more complex data

By the end of this lesson we'll have built the final API we're going to use to build a demo application.

Self-check question: Without looking at the repository, can you write the code necessary to expose Drupal menus using the RESTful module?

Downloads: 
Log in or sign up to download companion files.
Additional resources: