• Parses ID of content links as they are represented in data. For convenience, especially in source editing, also UAPI links are supported, while in general content/<id> is expected in the context of CoreMedia Studio.

    Thus, you may expect results as follows, for example:

    • content/42 evaluates to number 42
    • coremedia:///cap/content/42 evaluates to number 42
    • https://example.org/ evaluates to undefined

    Parameters

    • value: string

      value to parse

    Returns undefined | number