Skip to content

Commit

Permalink
[fix] route links
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiipylypchuk1991 committed Jan 19, 2024
1 parent 23c4a4f commit 63fc015
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions docs/api/overview/rest_routes_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ description: You can have the REST routes overview of the DHTMLX JavaScript Even
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';


This page gives you the list of all REST routes with their short description and links to pages with more details.<br> Before you get down to each route description, it's recommended to read about [Working with Server](guides/working_with_server.md).

---
Expand All @@ -33,22 +32,22 @@ For quick navigation you can use either the tabs below or the side menu:
<tbody>
<tr>
<td>GET</td>
<td><a href="/api/provider/rest_routes/get_routes/js_eventcalendar_getevents_route"> /events</a></td>
<td><a href="../../../api/provider/rest_routes/get_routes/js_eventcalendar_getevents_route"> /events</a></td>
<td>Gets data on all events and returns a json object with an array of events objects</td>
</tr>
<tr>
<td>POST</td>
<td><a href="/api/provider/rest_routes/post_routes/js_eventcalendar_postevent_route"> /events</a></td>
<td><a href=" ../../../api/provider/rest_routes/post_routes/js_eventcalendar_postevent_route"> /events</a></td>
<td>Creates a new event and returns a json object with the event ID in it</td>
</tr>
<tr>
<td>PUT</td>
<td><a href="/api/provider/rest_routes/put_routes/js_eventcalendar_putevent_route"> /events</a></td>
<td><a href=" ../../../api/provider/rest_routes/put_routes/js_eventcalendar_putevent_route"> /events</a></td>
<td>Updates data on an event</td>
</tr>
<tr>
<td>DELETE</td>
<td><a href="/api/provider/rest_routes/delete_routes/js_eventcalendar_deleteevent_route"> /events</a></td>
<td><a href=" ../../../api/provider/rest_routes/delete_routes/js_eventcalendar_deleteevent_route"> /events</a></td>
<td>Deletes data on an event</td>
</tr>
</tbody>
Expand All @@ -69,21 +68,21 @@ For quick navigation you can use either the tabs below or the side menu:
<tbody>
<tr>
<td>GET</td>
<td><a href="/api/provider/rest_routes/get_routes/js_eventcalendar_getcalendars_route"> /calendars</a></td>
<td><a href=" ../../../api/provider/rest_routes/get_routes/js_eventcalendar_getcalendars_route"> /calendars</a></td>
<td>Gets data on all calendars and returns a json object with an array of calendars objects</td>
</tr>
<tr>
<td>POST</td>
<td ><a href="/api/provider/rest_routes/post_routes/js_eventcalendar_postcalendar_route"> /calendars</a></td>
<td ><a href=" ../../../api/provider/rest_routes/post_routes/js_eventcalendar_postcalendar_route"> /calendars</a></td>
<td>Creates a new calendar (event type) and returns a json object with the calendar ID in it</td>
</tr>
<tr>
<td>PUT</td>
<td><a href="/api/provider/rest_routes/put_routes/js_eventcalendar_putcalendar_route"> /calendars</a></td><td>Updates data on a calendar (event type)</td>
<td><a href=" ../../../api/provider/rest_routes/put_routes/js_eventcalendar_putcalendar_route"> /calendars</a></td><td>Updates data on a calendar (event type)</td>
</tr>
<tr>
<td>DELETE</td>
<td><a href="/api/provider/rest_routes/delete_routes/js_eventcalendar_deletecalendar_route"> /calendars</a></td>
<td><a href=" ../../../api/provider/rest_routes/delete_routes/js_eventcalendar_deletecalendar_route"> /calendars</a></td>
<td>Deletes data on a calendar (event type)</td>
</tr>
</tbody>
Expand All @@ -103,17 +102,17 @@ For quick navigation you can use either the tabs below or the side menu:
<tbody>
<tr>
<td>GET</td>
<td><a href="/api/provider/rest_routes/get_routes/js_eventcalendar_getuploads_route"> /uploads</a></td>
<td><a href=" ../../../api/provider/rest_routes/get_routes/js_eventcalendar_getuploads_route"> /uploads</a></td>
<td>Gets the requested binary file from the server</td>
</tr>
<tr>
<td>POST</td>
<td><a href="/api/provider/rest_routes/post_routes/js_eventcalendar_postupload_route"> /uploads</a></td>
<td><a href=" ../../../api/provider/rest_routes/post_routes/js_eventcalendar_postupload_route"> /uploads</a></td>
<td>Uploads a binary file to the server and returns a json object with its id, name, and url</td>
</tr>
</tbody>
</table>
</TabItem>

</Tabs>
</div>
</div>

0 comments on commit 63fc015

Please sign in to comment.