momijizukamori: (Default)
Sollux ([staff profile] momijizukamori) wrote2017-12-10 11:58 am

API Feedback!

Placeholder post for API notes and feedback to go on!
annathecrow: (Default)

/journals/{journal}/tags weirdness

[personal profile] annathecrow 2017-12-24 05:46 pm (UTC)(link)
When I'm calling http://www.momiji.hack.dreamwidth.net/api/v1/journals/annathecrow/tags I am getting the tags twice, and the first list looks messed up.

First:

$VAR1 = {
          'security_level' => 'public',
          'display' => '1',
          'security' => {
                          'private' => 0,
                          'groups' => {},
                          'public' => 1,
                          'protected' => 0
                        },
          'name' => 'barbara gordon',
          'uses' => 1
        };


Second:

{
      "_id" : "33",
      "_type" : "TagDetail",
      "security_counts" : {
         "public" : 1
      },
      "url" : "http://annathecrow.momiji.hack.dreamwidth.net/tag/barbara+gordon",
      "visibility" : "public",
      "use_count" : 1,
      "name" : "barbara gordon"
   },


Maybe a leftover var dump?