POST /models/{modelId}/photos/v1

Discussion in 'Shapeways API' started by Rafferty, Jun 21, 2013.

  1. Rafferty
    Rafferty New Member
    Hi there,

    I'm calling the POST /models/v1 to upload a model, and successfully getting a model Id back.

    I'm then trying to POST a rendering of the model using POST /models/{modelId}/photos/v1 - but I get a 404 back. I replace {modelId} with the model Id that I've just received.

    Is there a delay between POST /models/v1, and when the modelId it returns becoming available?

    Thanks in advance
  2. ProfessorBeekums
    ProfessorBeekums New Member
    Hi Rafferty,

    There is a slight delay between posting a model and being able to access it (the delay is the same as if you had uploaded the model from the website). This delay is due to us running automated checks on the model file to ensure that the model is printable.

    You can run a GET /models/{modelId}/v1 to get the model data. There is a printable field that you can look at to see the status of the automated checks.