)]}'
{"designate/api/v2/controllers/zones/__init__.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"1f00fa655623b72c8f0b96ffa840981f73f58a4c","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        metadata \u003d {"},{"line_number":118,"context_line":"            \u0027totalcount\u0027: zones.totalcount"},{"line_number":119,"context_line":"        }"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        return self._view.list(context, request, zones, metadata\u003dmetadata)"},{"line_number":122,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_f82bc130","line":119,"updated":"2014-12-01 19:50:59.000000000","message":"I think we can move this into the base view - see comment on that file.","commit_id":"79644d06d042f64646865f8b33c5a72f0e2ff57f"}],"designate/api/v2/views/base.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"1f00fa655623b72c8f0b96ffa840981f73f58a4c","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        }"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        if metadata:"},{"line_number":53,"context_line":"            result[\"meta\"] \u003d metadata"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        if \u0027detail\u0027 in request.GET and request.GET[\u0027detail\u0027] \u003d\u003d \u0027yes\u0027:"},{"line_number":56,"context_line":"            result[self._collection_name] \u003d self.list_detail(context, request,"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_38dd4943","line":53,"updated":"2014-12-01 19:50:59.000000000","message":"We could make the counts a bit more generic / reusable with:\n\n\n    metadata \u003d metadata or {}\n\n    if isinstance(items, base.PagedListObjectMixin):\n        metadata[\u0027total_count\u0027] \u003d items.total_count\n\n    result[\u0027metadata\u0027] \u003d metadata","commit_id":"79644d06d042f64646865f8b33c5a72f0e2ff57f"},{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"1f00fa655623b72c8f0b96ffa840981f73f58a4c","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"        return result"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    def _get_metadata(self, request, items, metadata):"},{"line_number":143,"context_line":"        pass"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def _get_base_href(self, parents\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_78cd1186","line":142,"updated":"2014-12-01 19:50:59.000000000","message":"I don\u0027t think this get\u0027s used anywhere?","commit_id":"79644d06d042f64646865f8b33c5a72f0e2ff57f"}],"designate/objects/base.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"1f00fa655623b72c8f0b96ffa840981f73f58a4c","unresolved":false,"context_lines":[{"line_number":557,"context_line":"    This adds fields that would populate API metadata for collections."},{"line_number":558,"context_line":"    \"\"\""},{"line_number":559,"context_line":"    FIELDS \u003d {"},{"line_number":560,"context_line":"        \u0027totalcount\u0027: {"},{"line_number":561,"context_line":"            \u0027schema\u0027: {"},{"line_number":562,"context_line":"                \u0027type\u0027: [\u0027integer\u0027],"},{"line_number":563,"context_line":"            }"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_98f39de6","line":560,"updated":"2014-12-01 19:50:59.000000000","message":"Can we use total_count? I think we use underscore as a word separator everywhere else.. :)","commit_id":"79644d06d042f64646865f8b33c5a72f0e2ff57f"}],"designate/resources/schemas/v2/zones.json":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"1f00fa655623b72c8f0b96ffa840981f73f58a4c","unresolved":false,"context_lines":[{"line_number":34,"context_line":"                }"},{"line_number":35,"context_line":"            }"},{"line_number":36,"context_line":"        },"},{"line_number":37,"context_line":"        \"meta\": {"},{"line_number":38,"context_line":"            \"totalcount\": {"},{"line_number":39,"context_line":"                \"type\": \"integer\","},{"line_number":40,"context_line":"                \"description\": \"Total number of entries\","}],"source_content_type":"application/json","patch_set":6,"id":"5a890539_f8874110","line":37,"updated":"2014-12-01 19:50:59.000000000","message":"Can we call this \"metadata\" - I don\u0027t think we gain anything with the abbreviated name as it\u0027s 99% of the time used by client bindings, and the other 1% is people trying to understand the API for the first time :)","commit_id":"79644d06d042f64646865f8b33c5a72f0e2ff57f"}]}
