How do you deconstruct a Cloudinary URL?

Open
#559 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
api

Research direction

No file, test, or concrete URL example is named. Start by reviewing the repository's URL-generation entry points and existing Cloudinary URL handling, then determine the intended parsing scope for cloudName and publicId. Done means a decided utility or regex approach with documented behavior and coverage for the supported URL forms.

Written by the indexing model from the issue text.

Description

So, I started a job working with a system that serialized all Cloudinary URLs and stored them in the database. I would like to parse these URLs into the appropriate cloudName & publicId so that I can use the Cloudinary API to retrieve these images at any size / format.

Do you provide a utility or regex to do this?

Dominant language
HTML
Stars
56
Forks
11
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/js-url-gen

All issues in cloudinary/js-url-gen

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.