REST

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
linclark's picture

Entity reference import needs feedback [video]

I've been having a hard time drumming up architectural review on Handle entity references on import. I know it's pretty hard to see how the parts fit together, so I made a short video explaining the proposed approach.

The patch doesn't need code style review or manual testing yet, but instead needs architectural review to ensure we're building the right thing.

Read more
twoblackeyes's picture

help with URL arguments to make REST server output taxonomy fields

Hi everyone,

I'm a bit of a beginner to the Services module. On my site, I have a view that displays taxonomy fields from specific terms, filtered by a term from another vocabulary. For example, I have a vocabulary of terms called "nightclubs" and a vocabulary called "neighborhoods" that's used to sort each nightclub. Each nightclub is associated with a neighborhood via a taxonomy field. My view shows me a list of terms (nightclubs) in whatever neighborhood term is passed through the contextual filter, and a few fields for each term (name, description, address, etc).

Read more
Drupal_Frank's picture

Interfacage avec système ERP Sage

Bonjour, dans le cadre d'un de mes projets, je dois créer un moyen de communiquer avec un système ERP Sage et Drupal Commerce. Je sais que je pourrais utiliser ODBC pour faire la communication mais ne le trouvant pas assez sécuritaire, je cherche une alternative.

Quelqu'un pourrait m'aider à m'orienter (pistes de solutions) pour déterminer un autre moyen de créer une architecture entre Drupal et Sage. Exemple: Rest, Soap.

Merci d'avance pour toutes informations.

François Pilon

Read more
ltwinner's picture

Using Services to integrate Drupal 7 site with custom iPhone app?

I have to integrate a Drupal 7 site with a custom iPhone app. I need to be able to be able to perform the create, retrieve, update and delete process on the Drupal site using the iPhone app.

I have 20+ content types each with multiple custom fields. So what I need to know is will I have to write my own custom solution or is the Services module able to perform most/all of the functionality for me?

Read more
irakli's picture

Alternative REST Implementations

From what I understand, Symfony2 is going to be default implementation for RESTful services. That said, Drupal has always prided itself for providing alternatives.

Can REST implementation be pluggable? Say, I would like to integrate: http://zaphpa.org/ as a REST implementation for D8, should I be able to?

Thank you.

Read more
lelizondo's picture

Drupanium = Drupal, Services and Titanium Studio documented

Just to let everyone know about a project I started a while ago. Drupanium is a distribution and an app with code and documented examples on how to integrate Drupal, Services and Titanium Studio.

There's also some documentation about the Services REST API.

http://drupanium.org

I hope you like it.

Read more
oleurud's picture

Services 6.x.3.1 y REST

Buenas a todos

Llevo varios días intentando que un Drupal 7 acceda a la información de un webservice REST en Drupal 6.

Os cuento un poco cómo está el Drupal 6: tiene configurado el servidor REST con autenticacion por session. Solo el usuario admin puede acceder al único endpoint que tiene activada toda la infromación que nos permite services. Lógicamente, desde el navegador y logado como admin puedo acceder a toda la información.

Desde el Drupal 7, tengo montado el siguiente php tras mucho investigar y leer decenas de ejemplos y post que se contradicen unos con otros:

Read more
GigabyteJack's picture

Using JQuery/HTML to save a file via REST server

Hi Everyone,

Thanks to the help of this group I have been able to get all the retrieval and listing functions working - and now I hope to do the reverse.

I read here that the REST server can accept a file posted to it (http://groups.drupal.org/node/90819#comment-285609), however I am struggling to understand how to make this work using JQuery. I've found the fileRecieve function in the RESTServer.inc but cannot determine how to post a file there or what variables I should send with it.

Read more
iTiZZiMO's picture

Working Example with Services 3.x User.Login and System.Connect

Has anybody a working user.login example with services 3.x and user.login?

I downloaded the latest repository from this git hub

http://github.com/randallknutson/services

and get the node creation for anonymous user working.

But i cant using the user login method oder system connect. I activate the session authentication , because i think oauth is more complex.

my urls are

i tried with Firefox REST Client Extension and php curl test example:


HTTP-METHOD: POST
url: http:///user/login <- yes the blank page comes!
Content-Type: application/json

Read more
jonathan_hunt's picture

PUT vs POST

REST Server module maps POST to Create and PUT to Update:

Create: POST /services/rest/node + body data
Retrieve: GET /services/rest/node/123
Update: PUT /services/rest/node/123 + body data
Delete: DELETE /services/rest/node/123

My reading of material such as RESTful Web Services (O'Reilly) is that PUT should be used for resource creation (where the client knows the URL for the resource).

Is there a way of achieving that mapping in REST Server 2.x?

Read more
Subscribe with RSS Syndicate content