Giter Club home page Giter Club logo

Comments (3)

stephan-gh avatar stephan-gh commented on May 30, 2024

I'm confused about what is meant with "types". Are you referring to main, sources and dev or what exactly? This is available in the artifacts map:

    {  
        "version":"1.12.2-8.0.0-BETA-394",
        "published":"2018-01-31T20:29:18Z",
        "type":"bleeding",
        "commit":"e6a80ab9d1d17739d8cad63bf6a6c71f77e0dff1",
        "dependencies":{  
            "minecraft":"1.12.2",
            "spongeapi":"8.0.0-SNAPSHOT-4ae8f537"
        },
        "artifacts":{  
            "":{  
                "url":"https://repo.spongepowered.org/maven/org/spongepowered/spongevanilla/1.12.2-8.0.0-BETA-394/spongevanilla-1.12.2-8.0.0-BETA-394.jar",
                "size":22448752,
                "sha1":"d88c1764d34ee46f08cc7ffb6a22f36a5490cd95",
                "md5":"041cef708db1a6a840781d72f8ff85d3"
            },
            "dev":{  
                "url":"https://repo.spongepowered.org/maven/org/spongepowered/spongevanilla/1.12.2-8.0.0-BETA-394/spongevanilla-1.12.2-8.0.0-BETA-394-dev.jar",
                "size":7487274,
                "sha1":"717fc40c80c3dc758d8cf3219046719a06d46779",
                "md5":"2baba40ee54e4f25937819a672fa9286"
            },
            "sources":{  
                "url":"https://repo.spongepowered.org/maven/org/spongepowered/spongevanilla/1.12.2-8.0.0-BETA-394/spongevanilla-1.12.2-8.0.0-BETA-394-sources.jar",
                "size":7279400,
                "sha1":"e093e92a8fbf34c21ffd28f3c94fb4fd9491bd09",
                "md5":"37d0647b7d733a9fb833c2f90457f064"
            }
        }
    },

from downloadindexer.

progwml6 avatar progwml6 commented on May 30, 2024

no, the type field on the artifacts should have an api that lists all types(bleeding, stable, etc.) that that a particular project such as the api, spongeforge, or spongevanilla have overall

from downloadindexer.

stephan-gh avatar stephan-gh commented on May 30, 2024

buildTypes maybe? :) https://dl-api.spongepowered.org/v1/org.spongepowered/spongevanilla/

{  
    "name":"SpongeVanilla",
    "pluginId":"sponge",
    "github":{  
        "owner":"SpongePowered",
        "repo":"SpongeVanilla"
    },
    "buildTypes":{  
        "bleeding":{  
            "latest":{  
                "version":"1.12.2-8.0.0-BETA-394",
                "dependencies":{  
                    "minecraft":"1.12.2",
                    "spongeapi":"8.0.0-SNAPSHOT-4ae8f537"
                }
            }
        },
        "stable":{  
            "latest":{  
                "version":"1.12.2-7.1.0-BETA-15",
                "dependencies":{  
                    "minecraft":"1.12.2",
                    "spongeapi":"7.1.0-SNAPSHOT-b1637867"
                }
            }
        }
    },
    ...
}

from downloadindexer.

Related Issues (16)

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.