Skip to content

More comprehensive types for postMetaRetrieve methods #34

@minirobotdan

Description

@minirobotdan

Hi Merge team, i'm working with the NodeJS API to prototype some functionality which would allow our platform to make ATS /applications POST requests based on the assembled metadata fetched from your API. There's a few tricky steps here as I have to find out whether I can POST at all depending on the capability of the linked account (or fallback on a link instead of a form from the user CTA), and then work out what fields are required from the user to assemble any prerequisite associated records such as candidates and attachments.

Currently the MetaResponse type is just Record<string, unknown> which makes wrangling the sub-structures quite a painful exercise. At least typing out the model property would be a start, although having a variable type for the possible structures under model.properties would be much more useful.

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions