This is a discussion and working group for anyone interested in the Services module and related modules. This module was created out of a need for a standardized solution of integrating external applications with Drupal, specifically Flash and Flex applications. Visit the issues page for all bug reports. Also visit the Services Handbook for information and examples.
Limit on display
I recently installed service module in my drupal 7. I use api key authentication. when I try to display list of node in my client (browser,android,postman) i found out that the default limit is 20 rows. how to set this as unlimited or set this in query parameter?
Read moreDrupal Developer for UCLA Library Web Services
Official Drupal Jobs Post: https://jobs.drupal.org/ucla-library/job/14509
Full description and requirements: http://hr.mycareer.ucla.edu/applicants/Central?quickFind=71920
Read moreCome learn about Drutopia - Drupal as a Service - A framework for an ecosystem of free software distributions
August is here, let's celebrate Drupal! Why? - do we need a reason?
While there is a regular monthly meetup there is also a mission to build a Drupal as a Service full featured distribution of Drupal for organizing and campaigns. There is NationBuilder and other proprietary tools that are available, but why not a Drupal solution?
Come learn about the Drutopia distribution and how grassroots groups will be able to easily create a Drupal 8 site with pre-configured selectable features and the SAAS hosting option. Drutopia.org
Read moreGetting Started with Services 4.x - Drupal 8 Documentation or Examples?
Feel free to yell at me if I've missed something obvious, but I can't seem to find any documentation or examples at all for the 8.x-4.0-beta version of the Services module.
I've created a API module with 7.x-3.x branch of Services, and it worked out great, Tin Can Learning Record Store.
I create my own custom endpoint and resources programmatically, handled GET,PUT, POST, DELETE, and CORS requests.
Read moreServices REST Server: Handling custom headers from within Simpletest
My REST server endpoint is an API that requires a security token be included in a custom header. In my callback (or access callback or anywhere) I can check for this custom header value against getallheaders():
Read moreServices REST server: Best practices for DRY when implementing custom endpoint for a custom model
I've implemented Services just a few times now from out of the box Drupal function to custom endpoints, and the current one is my most ambitious (and most meticulous) effort. I want to build it in the way that makes the most sense, and I feel informed enough now to have a decent discussion about best practices.
For a REST server hosted by the Services module, the request flow looks like this, right?
Drupal services as backend for mobile application
Hi,
I am developing ionic mobile application and i am using drupal as my backend for authentication & content creation.
It is all working great, however; I am now integrating facebook & twitter login to my app which will login the user using his facebook or twitter account.
My question is, how do i authenticate the same user to my drupal back-end using services so i can deal with this user as normal registered drupal user.
I was going to call the service register then login APIs after successful facebook login then i realized i need to double check if the same user register before
Read moreHow can I pass an argument containing periods using Services?
Is there a way to have arguments passed in the path that contain periods? I have product ids that contain periods, and I'd like something like /info/product.id. In my callback, I'm just returning the argument, and printing a log with Watchdog. Just passing product works as expected, but product.id isn't returning anything and watchdog isn't logging anything.
Thanks
Read moreRetrieve a specific version (vid) of a node : D7
How do we retrieve a specific revision (vid) attributes of a node.
Works : http://mysite.com/endpoint/node?parameters[nid]=5¶meters[vid]=34 [vid=34 is the latest version version id]
Doesn't Works : http://mysite.com/endpoint/node?parameters[nid]=5¶meters[vid]=31 [vid=31 is the second version version id]
Please advise, how to construct the query to pull the a specific version ID related node attributes
Drupal Version : D7
Read moreGuía para Servicios REST en Drupal 7
Hola, les escribo para compartirles este Doc que escribí sobre servicios REST en drupal 7, es una guía bastante completa que surge del trabajo que realizamos en nuestra empresa y la escribí para que todos los que trabajan en la misma tengamos la misma visión sobre como laburar con el modulo Services y sus amigos.
Espero que les sirva
http://casivaagustin.com.ar/index.php/servicios-rest-en-drupal-7-la-guia/
Read moreConsuming SOAP for SSO
Hi, I'm looking for a consultant that can help me consume soap for SSO from a third party service.
Read moreIntegration of Drupal with c/c++ computational server
Hi,
I need to:
1) use drupal-powered web interface to collect user input (parameters);
2) invoke the computational modules/softwares written in c/c++ on a computational server with the parameters collected from the drupal site.
3) return the computational results to the drupal site.
I have been searching on the drupal sites, and I am wondering if Services module fit into my needs. If it is, can anybody give me some hints on how to achieve my goals?
Suggestions are very much appreciated.
Regards,
foredoc
Read moreServices + Oauth + JWT
Hello everybody, first of all I'm kind of lost here so If I'm not using the right terminology or what I'm saying have no sense please feel free to correct me, second I'm trying to get more information about this subject so any comment is really apreciated.
I'm trying to use Services with the Oauth2 Server but Using JWT.
I enabled the Services module, Created my own custom Endpoints, with no auth, worked perfectly.
I Enabled the Oauth2 Server, configured the server, the clientes, the scope. It worked.
Read moreHow to fetch Views total number of records in page.tpl.php before views.tpl called.
See this image http://prntscr.com/7idx70 for more understanding.
I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also using contextual filter for this view. Views have page type display.
I have also used module https://www.drupal.org/project/views_record_count. but this will print total number of records on Views header or footer. (Not outside of views)
Read moreWhy is a date field posted in one format and returned in a different?
I started working on a C++/Qt library for accessing a Drupal site via Services and a REST server (I'm more into C++ than PHP and Drupal module hacking), when I ran into the following problem: When I retrieve a node via node.retreive request, modify some fields of the returned JSON object and repost the changes via node.update request, Date field content will be killed.
Read moreUnable to log in following quick-start guide (total beginner)
I've just installed the Services module, so I'm very new at this. I'm trying to follow the quick start guide at https://www.drupal.org/node/2424977. I was able to perform the first step (getting a token) using the REST Client add-on for Firefox. But when I try the second step (logging in), it returns nothing. No errors, just nothing.
Any ideas? Screenshot attached (and yes, for this test, "drupal_user" really is my username and password.)
Read moreJSON request to form for creating a node
Hi,
Please help to properly create Jason request to send a form to create a node
I get an error:
"form_errors": {
"field_product][und][form][sku": "SKU field is required.",
"field_product][und][form][commerce_price][und][0][amount": "Discount Price field is required.",
"field_product][und][form][commerce_sales][und][0][value": "Sales field is required.",
"field_timending][und][0][value": "A valid date is required for <em class=\"placeholder\">Valid Until</em>."
what am i doing wrong?
the query such
{"type": "deal","title": "Some title",
Read moreCannot post node as authenticated user from phonegap
Hi all,
I have spent hours trying to figure this out as well as finding relevant code examples, I'm stuck...
I'm building a basic phonegap app that should allow to post a node as authenticated user. I can successfully login, but I cannot further post as this authenticated user thru X-CSRF-Token: I always get 403 - "Access denied for user 001" ...
I summed up the steps I follow in the dummy loginAndPost() function below.
<
pre>
function loginAndPost() {
// Set some vars
var username = "001";
var password = "001";
var server_uri = "http://my-drupal-website";
Read more Service Module and REST: 404 Not found
Hello! I hope that this is the right place.
I strictly followed this guide. The REST Server is activated. I try to access http://localhost/rest/user/token.json
(the Drupal installation is at localhost
) via the Firefox REST Easy Add-On. No success. It always gives me a "404 Not Found" error.
Under the "Resources" Tab of the Service Module configuration, all resources are enabled. What am I doing wrong?
Read moreDrupal Play Day at The Phase2 Treehouse 330 West 38th Street Suite 1405, New York, NY
https://groups.drupal.org/node/457803
Read more