by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Z
    @zdne
    /all We are abandoning Gitter in the favor of Slack for the realtime API Blueprint communication. Please visit http://apiblueprint-slack.herokuapp.com/ to sign up. I would like to thank you being awesome part of API Blueprint community and I am looking forward to seeing you again at the API Blueprint Slack #blueprint channel! Thanks!
    Jeffrey Hann
    @obihann
    Great news!
    Serhii Chaplia
    @iwex
    Hello
    Is there someone alive?
    klokane
    @klokane
    @iwex discussion moved to slack see message above
    Serhii Chaplia
    @iwex
    @klokane thanks
    tpodolak
    @tpodolak
    hi guys, do you know any tools to convert Json Schema to MSON ?
    Karega McCoy
    @karega
    Hello
    I'm having a rough time with Apiary
    I want to use it as my REST API because I have such a simple API
    Nikita
    @RedDevilHat
    Hello
    how i can do that?
           let data = new FormData;
    
            data.set('file', this.state.file);
            data.set('company_id', this.state.company_id);
            data.set('complience', JSON.stringify({
                    "product_name": this.state.name,
                    "unit_of_measure": this.state.unit,
                    "price_without_nds": this.state.none_nds,
                    "brand": this.state.brand
                }
            ));
    how i can rewrite tjis to blueprint?
    now i do that
    + Request (multipart/form-data; boundary=---BOUNDARY)
        + Headers
            Authorization: Bearer token_string
        + Body
    
                {
                    "company_id": 2,
                    "complience" : {
                    "product_name": 1,
                    "unit_of_measure": 2,
                    "brand": 3,
                    "price_without_nds": 4
                    }
                }
    
                    -----BOUNDARY
            Content-Disposition: form-data; name="excel[file]"; filename="price.xls"
            Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
            Content-Transfer-Encoding: base64
    
            /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
            HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
            MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIA
            AhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEB
            AAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AL+AD//Z
              -----BOUNDARY
    but dont like this
    and i dont know how do this attribut
    + Attributes (object)
        + company_id: 10056 (required, number) - description
        + file: file.txt(required,file) - description
        + complience: (required, array) [
            +product_name: 1 (required, number) - description
            +unit_of_measure: 2 (optional, number) - description
            +brand: 3 (optional, number) - description
            +price_without_nds: 4 (optional, number) - description
    
        ]- description
    Jatto Abdulqahhar
    @jattoabdul
    hello
    Justin Quick
    @justquick
    This project rocks
    oztaa
    @oztaa
    test
    anybody here?
    Alex Semyonov
    @alsemyonov
    🧟‍♂️🧟‍♀️
    Michal Tuček
    @lumitron

    Hi, I just can't find it anywhere so maybe someone here could help me.

    I have API like this

    {
    "id": 1,
    "author": {
    "id": 1,
    "first_name": "Michal",
    "last_name": "Tuček",
    },
    "title": "First Post",
    "content": "<p>This is the very first post!</p><p>Isn't it awesome?!</p>",
    "categories": [
    {
    "id": 1,
    "name": "Everyday life"
    },
    {
    "id": 2,
    "name": "Programming"
    },
    ]
    }

    but the part with HTML inside string is wrong... Is there some way to escape HTML content like this?

    Should I use < and > instead?
    & l t ; and & g t ;
    Michal Tuček
    @lumitron
    Yeah.... that is probably the solution :D
    Jean Jordaan
    @jean
    can one go from MSON to JSON Schema?
    Angel Lambertt Pierra
    @alambertt
    Hi folks, I have a problem. When I call a GET request to get ALL the results of my model I justo get 30 results. Ihave been reading about a config for blueprint.defaultLimit but it doesn't work for me. I´m using v1.2.3