{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/265","labels_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/265/comments","events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/265/events","html_url":"https://github.com/mongodb/mongo-c-driver/pull/265","id":104907773,"number":265,"title":"export library verson in the API","user":{"login":"remicollet","id":270445,"avatar_url":"https://avatars.githubusercontent.com/u/270445?v=3","gravatar_id":"","url":"https://api.github.com/users/remicollet","html_url":"https://github.com/remicollet","followers_url":"https://api.github.com/users/remicollet/followers","following_url":"https://api.github.com/users/remicollet/following{/other_user}","gists_url":"https://api.github.com/users/remicollet/gists{/gist_id}","starred_url":"https://api.github.com/users/remicollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remicollet/subscriptions","organizations_url":"https://api.github.com/users/remicollet/orgs","repos_url":"https://api.github.com/users/remicollet/repos","events_url":"https://api.github.com/users/remicollet/events{/privacy}","received_events_url":"https://api.github.com/users/remicollet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-04T15:01:36Z","updated_at":"2015-09-08T02:50:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/265","html_url":"https://github.com/mongodb/mongo-c-driver/pull/265","diff_url":"https://github.com/mongodb/mongo-c-driver/pull/265.diff","patch_url":"https://github.com/mongodb/mongo-c-driver/pull/265.patch"},"body":"The available macro are evaluated at buildtime\r\nCould be interesting to get runtime values.\r\n\r\nSo (for ex, in phpinfo, for pecl/mongodb) we can report\r\n\r\n    libmongoc header version 1.2.0-beta\r\n    libmongoc library version 1.2.0\r\n\r\nP.S. mostly copied/pasted from \"bson-version.c\"\r\n"},"comment":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/comments/138416146","html_url":"https://github.com/mongodb/mongo-c-driver/pull/265#issuecomment-138416146","issue_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/265","id":138416146,"user":{"login":"ajdavis","id":84101,"avatar_url":"https://avatars.githubusercontent.com/u/84101?v=3","gravatar_id":"","url":"https://api.github.com/users/ajdavis","html_url":"https://github.com/ajdavis","followers_url":"https://api.github.com/users/ajdavis/followers","following_url":"https://api.github.com/users/ajdavis/following{/other_user}","gists_url":"https://api.github.com/users/ajdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/ajdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajdavis/subscriptions","organizations_url":"https://api.github.com/users/ajdavis/orgs","repos_url":"https://api.github.com/users/ajdavis/repos","events_url":"https://api.github.com/users/ajdavis/events{/privacy}","received_events_url":"https://api.github.com/users/ajdavis/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T02:50:13Z","updated_at":"2015-09-08T02:50:13Z","body":"Tracking here: https://jira.mongodb.org/browse/CDRIVER-832"}}