Problem/Motivation

There is no documentation for how to use the module.

Proposed resolution

Add how to use in readme.txt file

Remaining tasks

User interface changes

API changes

Data model changes

Comments

N.kishorekumar created an issue. See original summary.

n.kishorekumar’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)
n.kishorekumar’s picture

Status: Closed (duplicate) » Active
n.kishorekumar’s picture

Category: Bug report » Task
n.kishorekumar’s picture

StatusFileSize
new1.03 KB
n.kishorekumar’s picture

Status: Active » Needs review
rakesh.gectcr’s picture

Thanks for the patch, I think the following steps are easy,

Step 1 : Add service
  Create a service then navigate to the path 'admin/structure/services' and click 'add service'.

Step 2 : Edit the newly created Resources, select the 'menu' resource  and save.

Step 3: Go to path, wwww.yoursite.com/[path to endpoint]/menu/[machine name of the menu].json

It will be great that if you can add an example to end point

rakesh.gectcr’s picture

Status: Needs review » Needs work
n.kishorekumar’s picture

StatusFileSize
new776 bytes

Added with the example to end point

n.kishorekumar’s picture

Status: Needs work » Needs review
rakesh.gectcr’s picture

How about the First line Create a service then navigate to the path 'admin/structure/services' and click 'add service'.

changes to

Navigate to the path 'admin/structure/services' and click 'add service'.

rakesh.gectcr’s picture

Status: Needs review » Needs work
n.kishorekumar’s picture

StatusFileSize
new1020 bytes

Changes to the path

n.kishorekumar’s picture

Status: Needs work » Needs review
rakesh.gectcr’s picture

Thanks for the patch.

I have done the changes little bit, here and there...

-- How to Use  --

Step 1 : Add new endpoint

  Navigate to the path 'admin/structure/services/add'

  1) Enter a "Machine-readable name" (Example : data_api).
  2) Select your "Server" which will be used to handle the requests to this endpoint (Example : Rest).
  3) Enter a "Path to endpoint". This will be part of the URL for your server (Example : data-api).
  4) Click 'save' button.

Step 2 : Edit the newly created Resources, select the 'menu' under "RESOURCE" and save.

Step 3 : Go to path,

   wwww.yoursite.com/[path to endpoint]/menu/[machine name of the menu].json

Example:

   www.yoursite.com/data-api/menu/main-menu.json

rakesh.gectcr’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
rakesh.gectcr’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.