onspring-api-sdk
    Preparing search index...

    Class EndpointFactory

    EndpointFactory - A factory class for creating endpoints.

    Index
    • Parameters

      • listId: number

        The id of the list.

      Returns string

      • The add or update list item endpoint.

      getAddOrUpdateListItemEndpoint - Gets the add or update list item endpoint.

    • Returns string

      • The add or update record endpoint.

      getAddOrUpdateRecordEndpoint - Gets the add or update record endpoint.

    • Parameters

      • id: number

        The id of the app.

      Returns string

      • The app by id endpoint.

      getAppByIdEndpoint - Gets the app by id endpoint.

    • Returns string

      • The apps by ids endpoint.

      getAppsByIdsEndpoint - Gets the apps by ids endpoint.

    • Returns string

      • The apps endpoint.

      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.

      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.

      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.

      getDeleteRecordByIdEndpoint - Gets the delete record by id endpoint.

    • Returns string

      • The delete records by ids endpoint.

      getDeleteRecordsByIdsEndpoint - Gets the delete records by ids endpoint.

    • Parameters

      • id: number

        The id of the field.

      Returns string

      • The field by id endpoint.

      getRecordsEndpoint - Gets the records endpoint.

    • Parameters

      • id: number

        The id of the app.

      Returns string

      • The fields by app id endpoint.

      getFieldsByAppIdEndpoint - Gets the fields by app id endpoint.

    • Returns string

      • The fields by ids endpoint.

      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.

      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.

      getRecordsEndpoint - Gets the records endpoint.

    • Returns string

      • The ping endpoint.

      getPingEndpoint - Gets the ping endpoint.

    • Returns string

      • The query records endpoint.

      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.

      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.

      getRecordsByAppIdEndpoint - Gets the get records by app id endpoint.

    • Returns string

      • The get records by ids endpoint.

      getRecordsByIdsEndpoint - Gets the get records by ids endpoint.

    • Parameters

      • reportId: number

        The id of the report.

      Returns string

      • The get report by id endpoint.

      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.

      getReportsByAppIdEndpoint - Gets the get reports by app id endpoint.

    • Returns string

      • The save file endpoint.

      getSaveFileEndpoint - Gets the save file endpoint.