PDF Google Drive Downloader v1.1


Report a problem

Content text Campus Hiring Evaluation - Backend



AFFORDMED ® Technology, Innovation &Af ordability API Endpoints Specification Your microservice must expose the following RESTful API endpoints: Create Short URL ● Description: Creates a new shortened URL. ● Method: POST ● Route: http://hostname:port/shorturls ● Request Body: { "url": "https://very-very-very-long-and-descriptive-subdomain-that-goes-on- and-on.somedomain.com/additional/directory/levels/for/more/length/re ally-log-sub-domain/a-really-log-page", "validity": 30, "shortcode":"abcd1" } ● url (string, required): The original long URL to be shortened. Must be a valid URL format. ● validity (integer, optional): The duration in minutes for which the short link remains valid. Defaults to 30 minutes if omitted. ● shortcode (string, optional): A desired custom shortcode. If omitted or unavailable, a unique shortcode must be generated. ● Expected Response (Status Code: 201): { "shortLink":"https://hostname:port/abcd1", "expiry":"2025-01-01T00:30:00Z" } A ord Medical Technologies Private Limited B 230 2nd Main Road, Sainikpuri, Hyderabad-500094, Telangana, INDIA. Phone: 91-40-27117068/27116133, Web: www.a ordmed.com, E-mail: contact@a ordmed.com, CIN: U72200TG2007PTC056067, URN: UDYAM-TS-20-0013532
AFFORDMED ® Technology, Innovation &Af ordability ● shortLink: The complete shortened URL. ● expiry: The ISO 8601 formatted timestamp indicating when the short link expires. Retrieve Short URL Statistics ● Description: Retrieves usage statistics for a specific shortened URL. ● Method: GET ● Route: http://hostname:port/shorturls/:abcd1 ● The response must be a JSON object containing statistics related to the specified shortcode, including: ○ The total number of times the short link has been clicked. ○ Information about the original URL it points to, its creation date, and its expiry date. ○ Detailed click data for each interaction, which should include the timestamp of the click, the source from which the click originated (e.g., referrer), and a coarse-grained geographical location of the click. A ord Medical Technologies Private Limited B 230 2nd Main Road, Sainikpuri, Hyderabad-500094, Telangana, INDIA. Phone: 91-40-27117068/27116133, Web: www.a ordmed.com, E-mail: contact@a ordmed.com, CIN: U72200TG2007PTC056067, URN: UDYAM-TS-20-0013532

Related document

x
Report download errors
Report content



Download file quality is faulty:
Full name:
Email:
Comment
If you encounter an error, problem, .. or have any questions during the download process, please leave a comment below. Thank you.