Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Add the services module for API support #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hypest
Copy link
Contributor

@hypest hypest commented Feb 16, 2014

Hey @billtzim , the "services" Drupal module is needed for an "API" style support, to be consumed by mobile clients for example. The android client I've started (check out the client branch as well: https://github.com/OpenThessaloniki/PointsOfInterest/tree/hypest/android-client) is using the XML-RPC server.

For the services module, check out the instructions here: http://bitgriff.blogspot.ru/2013/02/drupal-with-android-integration-make_16.html

@billtzim
Copy link
Contributor

i installed and enabled the services module in my drupal site, you should be set to go now

Στις 1:03 π.μ. Δευτέρα, 17 Φεβρουαρίου 2014, ο/η Stefanos Togoulidis [email protected] έγραψε:

Hey @billtzim , the "services" Drupal module is needed for an "API" style support, to be consumed by mobile clients for example. The android client I've started (check out the client branch as well: https://github.com/OpenThessaloniki/PointsOfInterest/tree/hypest/android-client) is using the XML-RPC server.
For the services module, check out the instructions here: http://bitgriff.blogspot.ru/2013/02/drupal-with-android-integration-make_16.html


You can merge this Pull Request by running
git pull https://github.com/OpenThessaloniki/PointsOfInterest hypest/android
Or view, comment on, or merge it at:
  #1
Commit Summary
* Add the services module for API support
File Changes
* A openthess/modules/services/LICENSE.txt (339)
* A openthess/modules/services/README.txt (33)
* A openthess/modules/services/auth/services_oauth/services_oauth.css (4)
* A openthess/modules/services/auth/services_oauth/services_oauth.inc (206)
* A openthess/modules/services/auth/services_oauth/services_oauth.info (13)
* A openthess/modules/services/auth/services_oauth/services_oauth.install (45)
* A openthess/modules/services/auth/services_oauth/services_oauth.module (16)
* A openthess/modules/services/css/services.admin.css (73)
* A openthess/modules/services/docs/services.alter.api.php (200)
* A openthess/modules/services/docs/services.authentication.api.php (42)
* A openthess/modules/services/docs/services.servers.api.php (54)
* A openthess/modules/services/docs/services.services.api.php (336)
* A openthess/modules/services/docs/services.versions.api.php (52)
* A openthess/modules/services/includes/services.resource_build.inc (210)
* A openthess/modules/services/includes/services.resource_update.inc (21)
* A openthess/modules/services/includes/services.runtime.inc (458)
* A openthess/modules/services/js/services.admin.js (73)
* A openthess/modules/services/plugins/export_ui/services_ctools_export_ui.class.php (493)
* A openthess/modules/services/plugins/export_ui/services_ctools_export_ui.inc (231)
* A openthess/modules/services/resources/comment_resource.inc (402)
* A openthess/modules/services/resources/file_resource.inc (371)
* A openthess/modules/services/resources/node_resource.inc (765)
* A openthess/modules/services/resources/system_resource.inc (101)
* A openthess/modules/services/resources/taxonomy_resource.inc (641)
* A openthess/modules/services/resources/user_resource.inc (785)
* A openthess/modules/services/servers/rest_server/README.markdown (78)
* A openthess/modules/services/servers/rest_server/includes/RESTServer.inc (689)
* A openthess/modules/services/servers/rest_server/includes/ServicesContentTypeNegotiator.inc (111)
* A openthess/modules/services/servers/rest_server/includes/ServicesContext.inc (188)
* A openthess/modules/services/servers/rest_server/includes/ServicesFormatter.inc (101)
* A openthess/modules/services/servers/rest_server/includes/ServicesParser.inc (142)
* A openthess/modules/services/servers/rest_server/includes/ServicesRESTServerFactory.inc (105)
* A openthess/modules/services/servers/rest_server/lib/bencode.php (27)
* A openthess/modules/services/servers/rest_server/lib/mimeparse.php (179)
* A openthess/modules/services/servers/rest_server/rest_server.api.php (60)
* A openthess/modules/services/servers/rest_server/rest_server.inc (88)
* A openthess/modules/services/servers/rest_server/rest_server.info (28)
* A openthess/modules/services/servers/rest_server/rest_server.install (35)
* A openthess/modules/services/servers/rest_server/rest_server.module (195)
* A openthess/modules/services/servers/rest_server/tests/ServicesRESTServerTests.test (617)
* A openthess/modules/services/servers/rest_server/tests/rest_server_mock_classes.inc (78)
* A openthess/modules/services/servers/xmlrpc_server/xmlrpc_server.info (15)
* A openthess/modules/services/servers/xmlrpc_server/xmlrpc_server.module (83)
* A openthess/modules/services/services.admin.inc (126)
* A openthess/modules/services/services.info (36)
* A openthess/modules/services/services.install (237)
* A openthess/modules/services/services.make (8)
* A openthess/modules/services/services.module (849)
* A openthess/modules/services/tests/functional/NoAuthEndpointTestRunner.test (30)
* A openthess/modules/services/tests/functional/ServicesAliasTests.test (104)
* A openthess/modules/services/tests/functional/ServicesArgumentsTests.test (153)
* A openthess/modules/services/tests/functional/ServicesEndpointTests.test (86)
* A openthess/modules/services/tests/functional/ServicesParserTests.test (119)
* A openthess/modules/services/tests/functional/ServicesResourceCommentTests.test (364)
* A openthess/modules/services/tests/functional/ServicesResourceDisabledTests.test (97)
* A openthess/modules/services/tests/functional/ServicesResourceFileTests.test (263)
* A openthess/modules/services/tests/functional/ServicesResourceNodeTests.test (615)
* A openthess/modules/services/tests/functional/ServicesResourceSystemTests.test (122)
* A openthess/modules/services/tests/functional/ServicesResourceTaxonomyTests.test (672)
* A openthess/modules/services/tests/functional/ServicesResourceUserTests.test (620)
* A openthess/modules/services/tests/functional/ServicesSecurityTests.test (100)
* A openthess/modules/services/tests/functional/ServicesVersionTests.test (109)
* A openthess/modules/services/tests/functional/ServicesXMLRPCTests.test (235)
* A openthess/modules/services/tests/services.test (886)
* A openthess/modules/services/tests/services_test_resource/services_test_resource.info (17)
* A openthess/modules/services/tests/services_test_resource/services_test_resource.module (181)
* A openthess/modules/services/tests/ui/ServicesUITests.test (109)
* A openthess/modules/services/tests/unit/ServicesSpycLibraryTests.test (40)
Patch Links:
* https://github.com/OpenThessaloniki/PointsOfInterest/pull/1.patch
* https://github.com/OpenThessaloniki/PointsOfInterest/pull/1.diff

Reply to this email directly or view it on GitHub.

@billtzim
Copy link
Contributor

When i was researching about android and drupal i found (you might have stumbled upon it your self) the followinf site

http://www.codeproject.com/Articles/548408/Drupal-with-Android-integration-Make-posts-and-upl

It has at least 2 other parts i think, you'll find them :)

it might help

Στις 1:07 π.μ. Δευτέρα, 17 Φεβρουαρίου 2014, ο/η Stefanos Togoulidis [email protected] έγραψε:

Also, does anyone (@billtzim or @akritiko or @Abraxas11 or @IAmHomeless or @kolofotias ) happen to have any good info on how to format the "field_address" field when creating a new article (in xml-rpc) ? It still gives me pain to structure it :(

Reply to this email directly or view it on GitHub.

@hypest
Copy link
Contributor Author

hypest commented Feb 17, 2014

@billtzim, you may go ahead and merge this pull request if you you find it OK. I'm not very confident with Drupal, that's why I don't do it myself :P

As for the link to the codeproject page, that's actually the code I based the scaffolding app on ;)
Thanks for the heads up anyway!

@hypest
Copy link
Contributor Author

hypest commented Feb 17, 2014

BTW, in the meantime after my request for help on our Drupal article structure (in xmlrpc) I did find my way around that and have the android app be able to do the article posting.

I do my tests against my own server at http://aws.hypest.com/openthess

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants