{"id":19713381,"url":"https://github.com/ctsit/mobile_api_request_to_survey","last_synced_at":"2025-08-24T06:46:08.075Z","repository":{"id":79003763,"uuid":"117262458","full_name":"ctsit/mobile_api_request_to_survey","owner":"ctsit","description":"A REDCap module to direct mobile api token requests to a survey","archived":false,"fork":false,"pushed_at":"2018-07-30T21:00:17.000Z","size":220,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-10T14:50:43.394Z","etag":null,"topics":["redcap","redcap-external-module","redcap-repo"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctsit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-01-12T16:18:14.000Z","updated_at":"2018-03-14T14:37:15.000Z","dependencies_parsed_at":"2023-03-19T13:19:56.937Z","dependency_job_id":null,"html_url":"https://github.com/ctsit/mobile_api_request_to_survey","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Fmobile_api_request_to_survey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Fmobile_api_request_to_survey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Fmobile_api_request_to_survey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Fmobile_api_request_to_survey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctsit","download_url":"https://codeload.github.com/ctsit/mobile_api_request_to_survey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241031916,"owners_count":19897380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["redcap","redcap-external-module","redcap-repo"],"created_at":"2024-11-11T22:21:36.642Z","updated_at":"2025-02-27T15:54:38.953Z","avatar_url":"https://github.com/ctsit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REDCap module: Mobile Api Request to Survey\n\nA REDCap module to route mobile api token requests in the **REDCap Mobile App** page to a survey. It also provides the option of adding descriptive text to the same page.\n\n## Prerequisites\n- REDCap \u003e= 8.0.3 (for versions \u003c 8.0.3, [REDCap Modules](https://github.com/vanderbilt/redcap-external-modules) is required).\n\n## Installation\n- Clone this repo into `\u003credcap-root\u003e/modules/mobile_api_request_to_survey_v\u003cversion_number\u003e`.\n- Go to **Control Center \u003e External Modules** and enable Mobile Api Request to Survey.\n- Still in **Control Center \u003e External Modules** configure the module with a URL and optionally, a descriptive text. You may also include parameter name-value pairs to be appended to the URL. Lastly, activate this module for all projects.\n\n\n## How to use\nThis module requires a Base URL to be provided as part of the system settings. The following values may be selected to be appended to the URL:\n\n    user_firstname\n    user_lastname\n    email\n    project_id\n    USERID\n\nThe `USERID` field contains the redcap username.\n\nTo use the appended parameters, make sure the parameter names you chose coincide with the names of the fields in the target REDCap survey.\n\nIn addition, you may include an optional descriptive text, which may include html formatting. Such text will appear on the 'REDCap Mobile App' page before the title 'What is the REDCap Mobile App?'.\n\nFor example, using the configuration below:\n\n![Example Configuration](example_configuration.png)\n\nthe rewritten target URL might look like this:\n\n    https://redcap.org/surveys/?s=DUPrXGmx3L\u0026Name=jdoe\u0026Lastname=doe_lastname\n\nand the text 'About the REDCap Mobile App' will be added on the 'REDCap Mobile App' before the title 'What is the REDCap Mobile App?'.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctsit%2Fmobile_api_request_to_survey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctsit%2Fmobile_api_request_to_survey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctsit%2Fmobile_api_request_to_survey/lists"}