REST API and OpenAPI: It’s Not an Either/Or Question

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

ความคิดเห็น • 111

  • @alex_chugaev
    @alex_chugaev 4 ปีที่แล้ว +214

    OpenAPI - is API spec and documentation
    RestAPI - implementation.

    • @lakshitsagar6299
      @lakshitsagar6299 3 ปีที่แล้ว +5

      The video hinted me towards this.....nd now this comment confirms all about it...Thanks

    • @rithukrishna5474
      @rithukrishna5474 2 ปีที่แล้ว +1

      So what we see in swagger is open API? I am new to this so please ignore if i am being wrong and correct me if possible.

  • @annalisaceledon5848
    @annalisaceledon5848 2 ปีที่แล้ว +4

    WOW! This is the best most logical and educational video about OPEN API.

  • @sudharsan1996
    @sudharsan1996 3 ปีที่แล้ว +8

    When my architect shared an OpenAPI definition yaml, I didnt know what it was and I did blindly ran that yml in swagger editor which generated corresponding RestAPI Interface. But now I understood what it is and hope will write an OpenAPI definition in future. Thanks for this video.

  • @lovikuanyshev
    @lovikuanyshev 2 ปีที่แล้ว +7

    Thanks mr. Beast for explanation about this!
    Didnt expect to see you on this channel but anyway thanks a lot!

    • @juanstakys
      @juanstakys 6 หลายเดือนก่อน

      Hahahaha! I thought the same

  • @francis191
    @francis191 2 ปีที่แล้ว +12

    Hey Nathan
    I am new to APIs and this video has been a quantum leap in breaking down key concepts into bite size digestible parts. I have watched your other video on Gateway APIs. Great work and thank you for your contribution.

  • @jiahong4492
    @jiahong4492 3 ปีที่แล้ว +16

    Can't believe I had seen and worked with the OpenAPI before without knowing what its actually called

  • @arj123sub
    @arj123sub 4 ปีที่แล้ว +9

    Thanks for this video. Crystal clear explanation of Open API and why it is important for automation

  • @TheClockmister
    @TheClockmister 8 วันที่ผ่านมา

    More specific explanation:
    - Rest: takes care of the mappings like GET
    - OpenApi: specifies what methods both parties need to implement
    Example in Java code:
    1) We don't use OpenApi
    The server will implement @GetMapping(), @PutMapping()...
    All information of the request will be put in the annotation too:
    @GetMapping("api/test/{parameter}")
    public void test(@Parameter ...)
    2) We use OpenApi
    OpenApi is an IDL which is needed on both client and server. This will be compiled and makes sure that both parties have the necessary data structures to allow communication. The client will now send a request by using an interface, this interface will generate a HTTP request (Rest style)
    But now, a server 'stub' is created: this is the interface specified by OpenApi. The server implements the interface with functionality. Note, the 'stub' implements the @GetMapping() and puts the parameters in the interface methods. So now, the functions will be:
    @Override
    public void test(String test)

  • @mrwiltofficial
    @mrwiltofficial 7 หลายเดือนก่อน

    Informative!! You jumped straight into the topic and explained clearly. Tysm!!

  • @MuhammadKhabirUddin
    @MuhammadKhabirUddin 8 หลายเดือนก่อน +1

    Thanks for the video. your explanation is very good but I think, without writing live, it could have been pre-populated text to save time.

  • @CarlitoProductions
    @CarlitoProductions 3 ปีที่แล้ว +6

    Someone directed me to Swagger and OpenAPI. They said it can be generated as documentation and also can be called from an endpoint. Not sure if the second oart is accurate info. However, this is a great video, great explanation and being a front end dev, I wanted to learn and get a feel for how can I create custom API for my personal projects

  • @sivam5204
    @sivam5204 4 ปีที่แล้ว +6

    Hi , If possible please use bright colors for writing , since the one below benefits is bit hard to read , #JustASuggestion and thanks for the great content .

  • @nathankrasney
    @nathankrasney 3 ปีที่แล้ว +8

    Wow, so much valuable and clear infomation in less than 10 min. Thanks!! Defenitely worth subscribe

    • @IBMTechnology
      @IBMTechnology  3 ปีที่แล้ว +1

      Definitely! 👍 Thanks for subscribing! 🙂

  • @phemmyjohnson
    @phemmyjohnson 11 วันที่ผ่านมา

    Who creates the Open API? Is it automatically created when the API is created? does one need to actually create it to ensure that the specification is documented? From the video, you mentioned that Mark can reference the open API.

  • @1anre
    @1anre 3 ปีที่แล้ว +5

    Great Concept breakdown.
    I’d love to see IBM Cloud’s comparison of REST API vs GraphQL API.

    • @IBMTechnology
      @IBMTechnology  3 ปีที่แล้ว +2

      Thank you! That does does sound like a great topic. We'll see what we can do about getting that video made. I would recommend you subscribe to the channel, if you haven't yet, to make sure you'll know when we get that published! Thank you for the suggestion.

    • @olamidecooldude
      @olamidecooldude 2 ปีที่แล้ว

      @@IBMTechnology Looking forward to it too!

  • @akritasak
    @akritasak ปีที่แล้ว +5

    Why would make a video where 50% of is dead air while we wait for you to write the things. You dont use slides over there?

  • @michellefernandez805
    @michellefernandez805 3 ปีที่แล้ว +3

    That was one Hek of a presentation ;) Liked, subscribed and learned a lot in only a few minutes. Plus, excellent content cleverly presented. Also the date of the publication is my birthday :O

  • @paulomathias974
    @paulomathias974 ปีที่แล้ว

    Great video Nathan, thanks a lot for the explanation

  • @devyaniumale5228
    @devyaniumale5228 ปีที่แล้ว

    Best video for API🙌

  • @AdamVigas
    @AdamVigas 2 ปีที่แล้ว

    Seen 5 videos and still didn´t get it. Now i get it :) thanks

  • @happinin
    @happinin 3 ปีที่แล้ว

    I never thought Oliver Queen would teach me about REST API's. Thanks for the video.

    • @IBMTechnology
      @IBMTechnology  3 ปีที่แล้ว +1

      Ha, ha, thanks! Glad you found it useful!

    • @happinin
      @happinin 3 ปีที่แล้ว

      @@IBMTechnology I have to learn OpenAPI and make sense of how it works because we need to build a new node API and document it. your video helped immensely when it comes to getting started! Pulled an all nighter doing research and have a lot to report back to the boss with. Worth it :)

    • @IBMTechnology
      @IBMTechnology  3 ปีที่แล้ว +1

      We're so happy we could help you in such a way, let us know if you'd need more resources. You could also consult the links in this video's description, they lead to a wealth of documentation. ⤴️
      Good luck with your project, and be sure to also have a good rest. 😉

  • @kaydenkhan8552
    @kaydenkhan8552 2 ปีที่แล้ว +1

    How are you writing backwards

  • @jorgeguerrero7964
    @jorgeguerrero7964 3 ปีที่แล้ว +20

    Can we take a moment to talk about how fast he writes backwards?

    • @fede77
      @fede77 3 ปีที่แล้ว +6

      or maybe the video is mirrored?

    • @brucebatmanwayne8514
      @brucebatmanwayne8514 2 ปีที่แล้ว +5

      @@fede77 that was the joke

    • @masterchief1520
      @masterchief1520 ปีที่แล้ว

      ​@@fede77 whoosh 😂

    • @hiamblax
      @hiamblax ปีที่แล้ว

      Yeah the video is mirrored

    • @hz-eo7th
      @hz-eo7th 11 หลายเดือนก่อน

      Exactly 😅😂

  • @kahleryasla
    @kahleryasla หลายเดือนก่อน

    really cool explanations and illustrations, thank you, even though writing left hand and reversed (traditional ibm videos joke, its actually mirrored)

  • @morayo8102
    @morayo8102 2 ปีที่แล้ว

    Brilliant and nicely explained👍

  • @prosperbobson8764
    @prosperbobson8764 2 ปีที่แล้ว

    Great video clear explanation of what and why

  • @hamids2065
    @hamids2065 ปีที่แล้ว

    Nicely explained, fantastic, thanks.

  • @8953989887
    @8953989887 4 ปีที่แล้ว +2

    Swagger does that right ?

    • @bojantrifkovic8684
      @bojantrifkovic8684 4 ปีที่แล้ว +3

      OpenAPI is specification, but Swagger is tool for its implementation

    • @1anre
      @1anre 3 ปีที่แล้ว

      @@bojantrifkovic8684 how does swagger differ from Postman, what are its benefits?

  • @liangyu3771
    @liangyu3771 ปีที่แล้ว

    how did you write reversely

  • @riveraces11
    @riveraces11 2 ปีที่แล้ว

    Thank you very much. It was super easy to better understand the OpenAPI Spec :)

  • @layer4down
    @layer4down 2 ปีที่แล้ว

    Excellent explanation

  • @maxw5229
    @maxw5229 3 ปีที่แล้ว

    If the Shop is already using REST API, how is Mark able to find the fitting Open API standard?

  • @srinivaspotipi5653
    @srinivaspotipi5653 2 ปีที่แล้ว

    By using open API, we are making REST API is standardized like SOAP. Is that my understanding is correct?

  • @soldadopreciso
    @soldadopreciso 3 ปีที่แล้ว

    Thanks pal, is very important to know that concepts in the industry.

  • @akmaluddinsiddiqui216
    @akmaluddinsiddiqui216 2 ปีที่แล้ว

    Hi Team,
    Could you please help in understanding how to achieve modifications in standard open API if there is a requirement for it.

  • @paulofernandoee
    @paulofernandoee 2 ปีที่แล้ว

    Great explanation!

  • @yunshaojiang9016
    @yunshaojiang9016 3 ปีที่แล้ว

    Thank you. It's a really clear explanation.

  • @Flankymanga
    @Flankymanga 4 ปีที่แล้ว +3

    Good videos thanks. I was subscribed on this channel before but somwhere along the line you started to publish too many "Customer stories" videos which as i believe not many viewers want to see. Most of the viewers here want to see the technical videos explaining topics in abstract diagrams, labels and real life analogy. Thank you

  • @NikolayMishin
    @NikolayMishin 3 ปีที่แล้ว

    Thanks, very clear explanation!

  • @dubblelin
    @dubblelin 2 ปีที่แล้ว +3

    Is he actually writing backwards that quickly? Is there some trick to this magic?

    • @dominiksramko
      @dominiksramko 2 ปีที่แล้ว

      The video is just flipped. If you add "transform: rotateY(180deg);" to the video element, you can see what it really looks like.

  • @nozimakudrow2517
    @nozimakudrow2517 2 ปีที่แล้ว

    You love ice cream is all I’m getting from these videos lol
    Jk of course.
    Love the explanations!

  • @gtrfrost
    @gtrfrost 3 ปีที่แล้ว

    I am confused, did you write backwards on glass?

    • @IBMTechnology
      @IBMTechnology  3 ปีที่แล้ว +1

      Not quite. Check out these behind the scenes 👉 ibm.co/3rXOnOH 😉

  • @bsummer
    @bsummer 2 ปีที่แล้ว

    Open Api is the documentation for REST API

  • @panicogalactico7379
    @panicogalactico7379 2 ปีที่แล้ว +1

    good one

  • @NancySinha-h4o
    @NancySinha-h4o 3 หลายเดือนก่อน

    Meanwhile my mind is unable to process how is he writing backwards so fast or how did he record the video.

  • @soja0524
    @soja0524 3 ปีที่แล้ว

    Great explanation Thanks!!

  • @eViperRabbit
    @eViperRabbit 4 ปีที่แล้ว

    do parameters need to be case sensitive or insensitive? Does OpenAPI specification define such standard?

    • @IBMTechnology
      @IBMTechnology  4 ปีที่แล้ว +2

      Hi Edmund! In OpenAPI, both parameters and properties are case sensitive. So parameter “Foo” is distinct from “foo”. You can see more information in the OpenAPI Specification: ibm.co/2VnxgnY

  • @xxfaturrinxx9800
    @xxfaturrinxx9800 3 ปีที่แล้ว +1

    Thank You bro!

  • @LeandroOliveira-kn9qx
    @LeandroOliveira-kn9qx 3 ปีที่แล้ว

    Very clear, thank you

  • @PigeonsRelatable
    @PigeonsRelatable 11 หลายเดือนก่อน

    Nice video, well done, ty!

  • @srinivasmangavalli6822
    @srinivasmangavalli6822 3 ปีที่แล้ว +1

    Thank you, very clear about Open API stuff

  • @lICoreylI
    @lICoreylI 11 หลายเดือนก่อน

    why did you say API interface, you are saying App programing interface interface

  • @julietadallapozza4843
    @julietadallapozza4843 8 หลายเดือนก่อน

    supler clear thank u!!!!

  • @HKBoba
    @HKBoba 2 ปีที่แล้ว

    are yall writing backwards..?

    • @IBMTechnology
      @IBMTechnology  2 ปีที่แล้ว

      Search on "lightboard videos".

  • @rohanpinto200
    @rohanpinto200 8 หลายเดือนก่อน

    How do you draw on the whiteboard but not have the image be reversed in the video? Are you drawing reversed in reality or are you guys using CGI in some way.

  • @arthurwandzel1683
    @arthurwandzel1683 3 ปีที่แล้ว

    Nice one guy!

  • @karnaghose4784
    @karnaghose4784 6 หลายเดือนก่อน

    Mr. Beast is great at tech

  • @chrisjiang1222
    @chrisjiang1222 2 ปีที่แล้ว

    Thanks!

  • @oleksandrlytvyn532
    @oleksandrlytvyn532 11 หลายเดือนก่อน

    Thanks

  • @ofircohen1366
    @ofircohen1366 ปีที่แล้ว

    it's hard to follow when you stop for writing all the time. use a presentation.

  • @devnarayananand2215
    @devnarayananand2215 ปีที่แล้ว +1

    Didnt know MrBeast taught coding

  • @justinjxhn
    @justinjxhn 2 หลายเดือนก่อน

    thanks

  • @MrJbramirez
    @MrJbramirez 4 ปีที่แล้ว +3

    Wow. Mr. Beast is a web developer now. 😱

    • @ayodub
      @ayodub 4 ปีที่แล้ว +2

      😂 "I sent this small website 1,000,000 API requests"

  • @nathansnow
    @nathansnow 2 ปีที่แล้ว

    Sorry mate, I got lost about 3/4 in... It was very interesting, but I think writing "everything" made the screen too busy

  • @IR-vx9ee
    @IR-vx9ee 5 หลายเดือนก่อน

    Noooo ... close this open line in green arrow!!!

  • @АлекандрМарченко-д6г
    @АлекандрМарченко-д6г ปีที่แล้ว

    Super

  • @mayur5126
    @mayur5126 3 ปีที่แล้ว

    How is he writing?😅

  • @vandana1407
    @vandana1407 ปีที่แล้ว

    I said to my mom if u don't subscribe then I will not allow u to watch the video 😤

  • @abhishekgoswami167
    @abhishekgoswami167 ปีที่แล้ว

    nice

  • @apku04
    @apku04 2 ปีที่แล้ว

    omg is he writing mirrored? o.O

  • @olwethumyeza8712
    @olwethumyeza8712 3 ปีที่แล้ว

    Referencing the iPad a bit too much there Nathan. It loses the viewer's focus. Great, straight to the point, informative presentations, 4/5 🔥

  • @martinprochazka3714
    @martinprochazka3714 3 ปีที่แล้ว

    I'm just sitting here wondering why the title is Spanish and the guy is speaking English...

  • @mhmtkrnlk
    @mhmtkrnlk 3 ปีที่แล้ว

    im realy surprised how did i used mediwiki api without knowing shit.

  • @newideas5572
    @newideas5572 2 ปีที่แล้ว

    Is this guy writing backwards? Good effort, if so..

  • @abhishekgoswami167
    @abhishekgoswami167 ปีที่แล้ว

    api

  • @armandoherrera1717
    @armandoherrera1717 ปีที่แล้ว

    Please, don't use the red market anymore. I could barely see what you wrote down lol.

  • @oswaldquek8196
    @oswaldquek8196 ปีที่แล้ว

    wow is this guy actually writing backwards?

  • @Andres-wq6cz
    @Andres-wq6cz 3 ปีที่แล้ว

    g

  • @kevinriccihernandes2303
    @kevinriccihernandes2303 ปีที่แล้ว

    mr beast?

  • @chrisc9725
    @chrisc9725 ปีที่แล้ว

    This guy writes too much so he loses the flow and after a while it's really irritating to have to wait that long.

    • @spacebuddy5339
      @spacebuddy5339 4 หลายเดือนก่อน

      Oh no you shouldn't have! Now I'm focused on it

  • @AnkurGandhi8489
    @AnkurGandhi8489 4 ปีที่แล้ว +3

    You writing things simultaneously while explaining the concept is bit of a distraction

    • @Samm_b28
      @Samm_b28 4 ปีที่แล้ว +6

      ever been to maths or physics class?

  • @crysist13
    @crysist13 3 ปีที่แล้ว +1

    It's a good video but there's so much downtime of him just writing. This could have been a 5 min video if he didn't have to write everything he's saying...