#web services

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

Headless - Edit and Reply Comment - Service URL & Request data

I am working on headless application. Need to build comment using drupal 8.

I am able to call web service for Add, Delete and List comment but not able to find appropriate URL and sample Request data for Edit and Reply Comments

Below is working for me:
Post Comment:
URL: {URL}:{PORT}/entity/comment?_format=json
Delete Comment
URL: {URL}:{PORT}/comment/{cid}?_format=json

Need help in D8: Need URL and sample Request data for below 2 web services for
Edit Comment
Reply Comment

Read more
Anonymous's picture

sincronizar dos bases de datos web services

Hola
llevo poco tiempo en drupal y tengo un proyecto muy desafiante para mi, desearía conocer algunas sugerencias para un desarrollo que voy a realizar.
Por un lado tengo un sistema en un servidor en local que usa Motor de Base de Datos Firebird, por otro lado quiero desarrollar un sitio de e-commerce en Drupal 7, debo sincronizar los artículos o productos hacia el sistema construido en Drupal.
tengo pensado crear un web services en Drupal de manera que reciba los datos de la otra base de datos.
me preguntaba si alguien ya soluciono algo parecido, y que pasos siguió.

Read more
fulat2k's picture

Specifying HTTP method in action methods

Hi folks,

I've defined an action method which is exposed as a web service. However, all actions are called via the HTTP POST method.

Is there a way to explicitly state which HTTP method a particular action supports?

As an example, here's what I have defined:


'validate' => array(
'help' => 'Validates bonus code',
'callback' => 'gs_bonus_validate_code',
'access arguments' => array('access content'),
'args' => array(
array(
'name' => 'code',
'type' => 'string',

Read more
bjfany's picture

canyin china(餐饮中国) app(ios, android) base on drupal

进过两个月的开发,餐饮中国第二版在ios, android 市场上架了。
餐饮中国是专注于移动互联网络,为全国餐饮专业人士提供以行业资讯、展会、招商、会议、赛事、教育等信息服务为基础的互动内容整合平台。在行业大型活动期间特别提供交通线路、会务安排、活动日程、嘉宾信息、投票调查等信息服务。

app开发主要考虑了下面几点
1)最好维护一套代码支持多个平台,ios, android, win phone
2)使用开源产品,减少开发成本
3)方便实现页面设计

后端服务的开发主要考虑了下面几点
1)方便管理员的维护
2)使用开源架构,降低开发成本
3)支持Restful API
4)支持推送功能(push notification)

最后确定了app使用jquery mobile进行开发,用phonegap进行封装,服务器使用drupal进行二次开发,app 与服务器的数据交互使用json.

android 下载
http://apk.hiapk.com/m/downloads?id=fany.ccas25&vcode=2

ios 下载
https://itunes.apple.com/cn/app/can-yin-zhong-guo/id617669119?mt=8

Read more
matthand's picture

Display System Messages Via Services

How can you display system messages to a user via services? Most interested in the REST server. Thanks!

Read more
cloudbull's picture

DrupalCampChina 2013 Proposal: Cloud based Drupal services

Description:

Comparing with same level of stuff, everyone knows Drupal got a harder learning path but doing much more things.

Here is an idea to support other platform like pure source code (Python, PHP, ROR etc) or CMS like thinkPHP, Joomla ... With Service module as an interface, we build Drupal on Cloud and integrate with complex stuff, unlocking small sites / companies to do big stuff.

Possible ideas
1) Content deployment in Enterprise
2) Recommendations (Recommender API)
3) geoIP service
4) Working with AWS ElasticMapReduce
5) Single sign on
...

Read more
jaimeah's picture

Specification for system resource set_variable, get_variable, del_variable using REST

I have been looking for a specification for using the variable setting actions of the system resource, but I haven't found anything. I am using Services 3.x and Drupal 7. Any suggestions or recommendations?

Read more
MD3's picture

Current Status of using Services

After our awesome discussion today at the mid-west developers conference, here are the issues I'm running into trying to build a social media platform REST interface (for an iPhone app) with the current Services set up:

Read more
josejayesh's picture

expose drupal nodes (content), images, tags as web services

I want to expose drupal nodes (content), images, tags as web services and it can be consume by any client (.Net application or Perl Application).Also i want to update the comment from client side (comment can made by anonymous)

Please suggest which module is good for performing the task , i am considering
services
RESTful Web Services

Thanks
~Jayesh

Read more
presm's picture

Services 3.x REST server create update without storing NID on remote site

Im just at the begining of trying to understand services and rest, I have a simple php script that I can use to create resources from my remote site, this works fine as does updating resources when I have the NID to add into the script.

What I cant seem to get my head around is how I link create and updates from a remote site when the remote doesnt have or store the NID, I assumed that perhaps using CCk to store a Unique ID from the remote may be the answer but Im unsure how I would go about retrieving a NID from a REST call with a Unique CCK field.

Read more
Subscribe with RSS Syndicate content