Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. Qt DevNet Web Service API
Forum Updated to NodeBB v4.3 + New Features

Qt DevNet Web Service API

Scheduled Pinned Locked Moved Qt.io webservices
61 Posts 10 Posters 45.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    ZapB
    wrote on last edited by
    #49

    [quote author="Alexandra" date="1304609933"][quote author="Gurudutt" date="1304609532"]Hi ZapB
    About giving access to admin site, I am not sure if that is ideal, I guess there are some security concerns and many more.
    [/quote]

    Although it might solve some problems, it should be fairly obvious that we can't do that. We're even carefully towards our own colleagues.

    Just imagine someone accidentally hitting the "drop all tables" button. :P[/quote]

    I never suggested having access to the admin side of the live site - only the source code of the CMS. ;-)

    Nokia Certified Qt Specialist
    Interested in hearing about Qt related work

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #50

      As for making the API faster, you could use mod_rewite or some other method to redirect the API requests to a dedicated box that runs a Qt/C++ mini-webserver process that uses all those lovely Qt modules to query and process the requests into a suitable json response. All we need to get that off the ground is some details of the database schema. We could open it up as a QtDevNet community project ;-)

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gurudutt
        wrote on last edited by
        #51

        [quote author="ZapB" date="1304592956"]Gurudutt, another problem today. Onthe front page again, line 226, col 181:

        @
        <div class="item"><img src="http://developer.qt.nokia.com/uploads/qt_quarterly/qt_ambassador_logo.png" alt="Qt Ambassador" width="150" height="201" alt="image" /></div>
        @

        the alt attribute is redefined leading to another error when using XQuery on that xhtml. Could you squash that bug too please? It looks like a simple static html one.

        Many thanks.[/quote]

        Hi ZapB,

        Front page of Developer network follows XHTML 1.0 strict standards now.
        Please confirm if it works as expected for your plug-in.

        Release Manager - Qt Development Frameworks

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #52

          Hi Gurudutt.

          Thanks for sorting out those issues. I am able to use QXmlQuery to scrape the gravatar info once again.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mgran
            wrote on last edited by
            #53

            [quote author="ZapB" date="1304332586"]Marius, I wonder if you could help me with something please?[/quote]

            Hey ZapB, I'm back, adding the gravatar info should be doable, I suggest it becomes part of the next version of the API. See "this post":http://developer.qt.nokia.com/forums/viewthread/5451/P15/#35854 for my motivation.

            Project Manager - Qt Development Frameworks

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              ZapB
              wrote on last edited by
              #54

              Thanks Marius. From reading on gravatar I think the needed info is just the md5 hash of the registered email address so as you say this should be doable. At least I had a reason to learn about QXmlQuery ;-)

              Nokia Certified Qt Specialist
              Interested in hearing about Qt related work

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mgran
                wrote on last edited by
                #55

                Gravatar hash and member ID will be part of the next release, like this:

                @"member_id":"7","gravatar_hash":"f1fad06bfc26dd4ad534c8d6e4d5965c"@

                added to the output from a "profile" API request.

                Our next release is in 14 days.

                Project Manager - Qt Development Frameworks

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  ZapB
                  wrote on last edited by
                  #56

                  Cool. Thanks for that Marius. I'll start modifying my client when it is released. I'll be able to bin the large hack using XQuery then.

                  Nokia Certified Qt Specialist
                  Interested in hearing about Qt related work

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vsorokin
                    wrote on last edited by
                    #57

                    @mariusg Yay! Cool. I will add this to my extension too.

                    --
                    Vasiliy

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mgran
                      wrote on last edited by
                      #58

                      Nothing new but a few days ago we added the devnet API documentation with examples here:

                      http://developer.qt.nokia.com/groups/devnet_meta/wiki/API_documentation

                      Project Manager - Qt Development Frameworks

                      1 Reply Last reply
                      0
                      • sierdzioS Offline
                        sierdzioS Offline
                        sierdzio
                        Moderators
                        wrote on last edited by
                        #59

                        Marius, I think URL on the wiki should be "/qtapi/1/member/profile" instead of "/api/1/member/profile"?

                        (Z(:^

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mgran
                          wrote on last edited by
                          #60

                          [quote author="sierdzio" date="1315072415"]Marius, I think URL on the wiki should be "/qtapi/1/member/profile" instead of "/api/1/member/profile"?[/quote]

                          Thanks sierdzio, fixed now.

                          Project Manager - Qt Development Frameworks

                          1 Reply Last reply
                          0
                          • sierdzioS Offline
                            sierdzioS Offline
                            sierdzio
                            Moderators
                            wrote on last edited by
                            #61

                            On a side note, the QWebService lib I am writing (some of you might remember it from qt5-feedback) is now ready for RESTful, JSON web services. I've recently put together an example that users QtDN API. Getting JSON reply is doable with 1 line of code (although I use 3 lines in my example app). Available on "Gitorious":http://gitorious.org/qwebservice and, in the future, maybe as part of Qt5. I'll probably post more info on it in the future, in a separate thread. Sorry for any typos, I'm using my phone for this post.

                            BTW: Would appreciate any feedback on API, intuitiveness, usability etc., as well as help in coding.

                            (Z(:^

                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved