Giter Club home page Giter Club logo

Comments (4)

mpeuster avatar mpeuster commented on June 12, 2024

Sure, will be there by Monday EOB ;-)

from tng-sdk-package.

mpeuster avatar mpeuster commented on June 12, 2024

Here is the example (the UUID was returned when the package file was posted):

curl -X GET http://127.0.0.1:5099/api/v1/packages/status/05153ab3-b929-4649-b78e-deb7cf18f198

Returns:

{
    "package_process_uuid": "05153ab3-b929-4649-b78e-deb7cf18f198",
    "status": "success",
    "error_msg": null
}

Is this what you need?

from tng-sdk-package.

jbonnet avatar jbonnet commented on June 12, 2024

:-) lovely!
Many thanks

from tng-sdk-package.

mpeuster avatar mpeuster commented on June 12, 2024

Also added an endpoint to return the full list of known precesses (for convenience):

curl -X GET http://127.0.0.1:5099/api/v1/packages/status
{
    "package_processes": [
        {
            "package_process_uuid": "fb78914d-050e-4b16-a4d2-0ccfa085b24f",
            "status": "failed",
            "error_msg": "tng-cat-be: could not upload package descriptor: (409) Duplicate with Package ID => 07616cf3-d79a-476c-bfb4-8b01819d0b6e"
        }
    ]
}

I add the example to the readme and close the issue.

from tng-sdk-package.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.