Class EndpointFactory

EndpointFactory - A factory class for creating endpoints.

Constructors

Methods

  • Parameters

    • listId: number

      The id of the list.

    Returns string

    • The add or update list item endpoint.

    Method

    getAddOrUpdateListItemEndpoint - Gets the add or update list item endpoint.

  • Returns string

    • The add or update record endpoint.

    Method

    getAddOrUpdateRecordEndpoint - Gets the add or update record endpoint.

  • Parameters

    • id: number

      The id of the app.

    Returns string

    • The app by id endpoint.

    Method

    getAppByIdEndpoint - Gets the app by id endpoint.

  • Returns string

    • The apps by ids endpoint.

    Method

    getAppsByIdsEndpoint - Gets the apps by ids endpoint.

  • Returns string

    • The apps endpoint.

    Method

    getAppsEndpoint - Gets the apps endpoint.

  • Parameters

    • recordId: number

      The id of the record.

    • fieldId: number

      The id of the field.

    • fileId: number

      The id of the file.

    Returns string

    • The delete file by id endpoint.

    Method

    getDeleteFileByIdEndpoint - Gets the delete file by id endpoint.

  • Parameters

    • listId: number

      The id of the list.

    • itemId: string

      The id of the list item.

    Returns string

    • The delete list item endpoint.

    Method

    getDeleteListItemEndpoint - Gets the delete list item endpoint.

  • Parameters

    • appId: number

      The id of the app.

    • recordId: number

      The id of the record.

    Returns string

    • The delete record by id endpoint.

    Method

    getDeleteRecordByIdEndpoint - Gets the delete record by id endpoint.

  • Returns string

    • The delete records by ids endpoint.

    Method

    getDeleteRecordsByIdsEndpoint - Gets the delete records by ids endpoint.

  • Parameters

    • id: number

      The id of the field.

    Returns string

    • The field by id endpoint.

    Method

    getRecordsEndpoint - Gets the records endpoint.

  • Parameters

    • id: number

      The id of the app.

    Returns string

    • The fields by app id endpoint.

    Method

    getFieldsByAppIdEndpoint - Gets the fields by app id endpoint.

  • Returns string

    • The fields by ids endpoint.

    Method

    getFieldsByIdsEndpoint - Gets the fields by ids endpoint.

  • Parameters

    • recordId: number

      The id of the record.

    • fieldId: number

      The id of the field.

    • fileId: number

      The id of the file.

    Returns string

    • The file by id endpoint.

    Method

    getFileByIdEndpoint - Gets the file by id endpoint.

  • Parameters

    • recordId: number

      The id of the record.

    • fieldId: number

      The id of the field.

    • fileId: number

      The id of the file.

    Returns string

    • The file info by id endpoint.

    Method

    getRecordsEndpoint - Gets the records endpoint.

  • Returns string

    • The ping endpoint.

    Method

    getPingEndpoint - Gets the ping endpoint.

  • Returns string

    • The query records endpoint.

    Method

    getQueryRecordsEndpoint - Gets the query records endpoint.

  • Parameters

    • appId: number

      The id of the app.

    • recordId: number

      The id of the record.

    Returns string

    • The get record by id endpoint.

    Method

    getRecordByIdEndpoint - Gets the get record by id endpoint.

  • Parameters

    • appId: number

      The id of the app.

    Returns string

    • The get records by app id endpoint.

    Method

    getRecordsByAppIdEndpoint - Gets the get records by app id endpoint.

  • Returns string

    • The get records by ids endpoint.

    Method

    getRecordsByIdsEndpoint - Gets the get records by ids endpoint.

  • Parameters

    • reportId: number

      The id of the report.

    Returns string

    • The get report by id endpoint.

    Method

    getReportByIdEndpoint - Gets the get report by id endpoint.

  • Parameters

    • appId: number

      The id of the app.

    Returns string

    • The get reports by app id endpoint.

    Method

    getReportsByAppIdEndpoint - Gets the get reports by app id endpoint.

  • Returns string

    • The save file endpoint.

    Method

    getSaveFileEndpoint - Gets the save file endpoint.